/** * Registry-owned persistence for the detach handle at * `/.skaile/deploy/handle.json` (locked decision #13). * * The file is a `{ targetId, payload }` envelope: `targetId` selects which * `DeployTarget` to look up, `payload` is that target's opaque restore slice. * The store never interprets `payload` — it only validates the envelope shape. */ /** Parsed detach-handle envelope. `payload` is the target's opaque restore slice. */ export interface StoredHandle { targetId: string; payload: unknown; } /** Absolute path to the detach-handle file for a project. */ export declare function handlePath(projectDir: string): string; /** Write the detach handle, creating `.skaile/deploy/` if missing. */ export declare function writeHandle(projectDir: string, targetId: string, payload: unknown): Promise; /** Read + validate the detach handle. Returns null when absent or malformed. */ export declare function readHandle(projectDir: string): Promise; /** Remove the detach handle. Idempotent — a missing file is not an error. */ export declare function clearHandle(projectDir: string): Promise; //# sourceMappingURL=handle-store.d.ts.map