import type { MaybeArray } from '@applitools/utils';
import type { Target, Core, ExtractTextSettings, Config } from './types';
import { type Logger } from '@applitools/logger';
import { type SpecType, type SpecDriver } from '@applitools/driver';
type Options<TSpec extends SpecType> = {
    spec?: SpecDriver<TSpec>;
    core: Core<TSpec>;
    logger: Logger;
};
export declare function makeExtractText<TSpec extends SpecType>({ spec, core, logger: mainLogger }: Options<TSpec>): ({ target, settings, config, logger, }: {
    target: Target<TSpec, 'classic'>;
    settings: MaybeArray<ExtractTextSettings<TSpec>>;
    config?: Config<TSpec, "classic"> | undefined;
    logger?: Logger | undefined;
}) => Promise<string[]>;
export {};
