import type { DriverTarget, Eyes, CloseSettings, Environment } from '../ufg/types';
import { type Logger } from '@applitools/logger';
import { type SpecType, type SpecDriver } from '@applitools/driver';
type Options<TSpec extends SpecType> = {
    eyes: Eyes<TSpec>;
    target?: DriverTarget<TSpec>;
    environments?: Environment[];
    spec?: SpecDriver<TSpec>;
    logger: Logger;
};
export declare function makeClose<TSpec extends SpecType>({ eyes, target, environments: defaultEnvironments, spec, logger: mainLogger, }: Options<TSpec>): ({ settings, logger, }?: {
    settings?: CloseSettings | undefined;
    logger?: Logger | undefined;
}) => Promise<void>;
export {};
