import { type OrchestratorService } from '@platform-modules/chatgpt-orchestrator-core';
export interface ExecutorBridgeOptions {
    host: '127.0.0.1';
    port: number;
    token: string;
    heartbeatIntervalMs?: number;
    staleAfterMs?: number;
}
export declare class ExecutorBridge {
    private readonly service;
    private readonly options;
    private server;
    private active;
    private readonly sessions;
    private timer;
    private readonly dispatchedThisSession;
    private readonly observedWorkers;
    constructor(service: OrchestratorService, options: ExecutorBridgeOptions);
    get status(): {
        connected: boolean;
        executorId: string | null;
        lastHeartbeatAt: string | null;
    };
    get address(): string;
    start(): Promise<void>;
    close(): Promise<void>;
    dispatchNow(): Promise<void>;
    private ready;
    private activate;
    private promoteStandby;
    private handleConnection;
    private reconcileContinuationOutput;
    private recentEventDetail;
    private continuityView;
    private continuityViewsForRun;
    private sendWorkerContinuity;
    private handleDeadmanRecoveryRequest;
    private handleOperatorAction;
    private tick;
    private send;
}
//# sourceMappingURL=executor-bridge.d.ts.map