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