import type { Target, Core, LocateTextSettings, LocateTextResult } from './types';
import { type Logger } from '@applitools/logger';
import { type SpecType, type SpecDriver } from '@applitools/driver';
type Options<TSpec extends SpecType> = {
    core: Core<TSpec>;
    spec?: SpecDriver<TSpec>;
    logger: Logger;
};
export declare function makeLocateText<TSpec extends SpecType>({ core, spec, logger: mainLogger }: Options<TSpec>): <TPattern extends string>({ target, settings, logger, }: {
    target: Target<TSpec>;
    settings: LocateTextSettings<TPattern, TSpec>;
    logger?: Logger | undefined;
}) => Promise<LocateTextResult<TPattern>>;
export {};
