import type { ExtensionContext } from "../../types.ts";
/**
 * Per-session persistence dir for the terminal lease, manifest and monitor state dirs; undefined
 * when the context carries no durable session dir (SDK/in-memory sessions) or runs a one-shot
 * `print`/`json` turn, which has no later generation to restore into.
 */
export declare function terminalStateDir(ctx: ExtensionContext | undefined): string | undefined;
export declare function monitorStateDir(terminalDir: string, monitorId: string): string;
export declare function ensureMonitorStateDir(terminalDir: string, monitorId: string): Promise<string>;
export declare function removeMonitorStateDir(terminalDir: string, monitorId: string): Promise<void>;
//# sourceMappingURL=monitor-state-dir.d.ts.map