import { ILocatorTiming } from './ILocatorTiming';
/**
 * File-based implementation of ILocatorTiming that tracks locator timing statistics
 */
export declare class JsonFileLocatorTiming implements ILocatorTiming {
    private _gate;
    private _cacheDir;
    private _filePath;
    private _timings;
    /**
     * Creates a new JSON file locator timing tracker
     * @param root Optional root directory path
     */
    constructor(root?: string);
    /**
     * Initialize the timing data by loading from disk
     */
    private _init;
    /**
     * Execute a function with lock to prevent concurrent file access
     * @param work Function to execute
     * @returns Result of the function
     */
    private _lock;
    /**
     * @inheritdoc
     */
    record(url: string, query: string, domHash: string, elapsedSeconds: number): Promise<void>;
    /**
     * @inheritdoc
     */
    get(url: string, query: string, domHash: string): Promise<{
        count: number;
        total: number;
        min: number;
        max: number;
        avg: number;
    } | null>;
    /**
     * @inheritdoc
     */
    clear(): Promise<void>;
}
//# sourceMappingURL=JsonFileLocatorTiming.d.ts.map