import { FrameEnd, FrameStart, StopwatchStore } from '@deepkit/stopwatch';
import { Mutex } from '@deepkit/core';
import { FrameworkConfig } from '../../module.config.js';
import { DebugBrokerBus } from '../broker.js';
import { BrokerBusChannel } from '@deepkit/broker';
import { Logger } from '@deepkit/logger';
export declare class FileStopwatchStore extends StopwatchStore {
    protected config: Pick<FrameworkConfig, 'varPath' | 'debugStorePath'>;
    protected broker: DebugBrokerBus;
    protected logger: Logger;
    protected lastSync?: any;
    protected syncMutex: Mutex;
    protected lastId: number;
    protected lastContext: number;
    frameChannel: BrokerBusChannel<Uint8Array> | undefined;
    frameDataChannel: BrokerBusChannel<Uint8Array> | undefined;
    protected framesPath: string;
    protected framesDataPath: string;
    protected analyticsPath: string;
    protected ended: boolean;
    protected folderCreated: boolean;
    constructor(config: Pick<FrameworkConfig, 'varPath' | 'debugStorePath'>, broker: DebugBrokerBus, logger: Logger);
    removeAll(): void;
    close(): Promise<void>;
    run<T>(data: {
        [name: string]: any;
    }, cb: () => Promise<T>): Promise<T>;
    getZone(): {
        [name: string]: any;
    } | undefined;
    add(frame: FrameStart | FrameEnd): void;
    protected loadLastNumberRange(): Promise<void>;
    protected sync(): void;
    protected ensureVarDebugFolder(): void;
    protected syncNow(): Promise<void>;
}
