export declare class DeepSeekRuntimeCreationBlockedError extends Error { /** Create the fixed durable-cleanup-blocker error exposed by runtime admission checks. */ constructor(); } /** A healthy foreign owner holds the shared runtime home; no cleanup failed. */ export declare class DeepSeekRuntimeBusyError extends Error { /** Create the distinct busy-home error for a healthy foreign runtime owner. */ constructor(); } export interface DeepSeekRuntimePaths { root: string; dshHome: string; state: string; sessions: string; owners: string; } /** Derive managed runtime/state paths independently of the user's credential home. */ export declare function getDeepSeekRuntimePaths(): DeepSeekRuntimePaths; /** Hash session IDs into path-safe durable usage marker names. */ export declare function getDeepSeekSessionMarkerPath(sessionId: string): string; /** Check durable session usage without treating unreadable state as a fresh session. */ export declare function hasDeepSeekSessionMarker(sessionId: string): Promise; /** Atomically mark a generated SDK ID; false indicates an already-used identity. */ export declare function markDeepSeekSessionUsed(sessionId: string): Promise; /** Serialize cleanup barrier publication against subsequent parent-side startup. */ export declare function markDeepSeekCleanupFailure(): Promise; /** Coordinate the cleanup barrier check and the SDK runtime's initial start operation. */ export declare function withDeepSeekRuntimeCreation(create: () => Promise, cleanupAfterFailure?: () => Promise): Promise; /** Refuse unconfirmed cleanup and distinguish healthy foreign runtime ownership. */ export declare function assertDeepSeekRuntimeCreationAllowed(): Promise; /** Acknowledge a per-runtime cleanup receipt under the same cross-process state lock. */ export declare function acknowledgeDeepSeekRuntimeCleanup(cleanupConfirmationPath: string): Promise; export declare const deepSeekContinuationMessage: () => string; export declare const deepSeekCleanupBlockedMessage: () => string; //# sourceMappingURL=runtime-state.d.ts.map