export type SessionRunStatePollAddress = {
    workspaceId: string;
    sessionId: string;
};
export type SessionRunStatePollerServiceOptions = {
    intervalMs: number;
    getAddress: () => SessionRunStatePollAddress | undefined;
    isEnabled: () => boolean;
    poll: (address: SessionRunStatePollAddress) => Promise<void>;
    onError: (error: unknown) => void;
};
/**
 * Owns cli-v2 run-state polling mechanics for active terminal sessions.
 */
export declare class SessionRunStatePollerService {
    private readonly options;
    private timer?;
    private inFlight;
    constructor(options: SessionRunStatePollerServiceOptions);
    sync(): void;
    dispose(): void;
    private stop;
    private tick;
}
//# sourceMappingURL=session-run-state-poller-service.d.ts.map