/** Newest durable task records kept for re-adoption across Pi restarts. */ export declare const DURABLE_TASK_RECORDS = 256; /** Directory name under `/fabric`; its existence gates any resume work. */ export declare const DURABLE_TASKS_DIRECTORY = "durable-tasks"; /** * What Fabric needs to reattach a jev-fabric job to its owning session after a * restart. The process itself lives in the jev-fabric store; this is only the * session binding, so a lost record orphans nothing that `tasks.external` cannot find. */ export interface DurableTaskRecord { taskId: string; jobId: string; home: string; ownerId: string; command: string; description?: string; cwd: string; startedAt: number; /** Output passed through shell middleware at launch; reattach only through middleware. */ filtered: boolean; /** Private launch script to remove once the job is observed terminal. */ scriptPath?: string; } /** * One private file per binding, written by rename: concurrent Pi processes * never read-modify-write a shared document, so no lock is needed. */ export declare class DurableTaskRegistry { #private; readonly directory: string; constructor(stateDirectory: string); add(record: DurableTaskRecord): Promise; remove(taskId: string): Promise; all(): Promise; owned(ownerId: string): Promise; } //# sourceMappingURL=registry.d.ts.map