/** * File inference queue store (3.0.0 foundation). * * Cross-process durable ledger store. Concurrency and durability follow the * exact pattern of FileDurableMissionStore: per-write unique temp files, * fsync + atomic rename, and a per-(root, resourceId) proper-lockfile critical * section so two OS processes can never interleave a read-validate-write * mutation. Corruption is surfaced structurally; a corrupt ledger never * fabricates a free slot or a completed inference. */ import { type InferenceLedgerCreateResult, type InferenceLedgerLoadResult, type InferenceLedgerMutateResult, type InferenceLedgerMutation, type InferenceQueueStore, type InferenceResourceLedger } from "./inference-queue.js"; export interface FileInferenceQueueStoreOptions { root: string; storeId?: string; lockStaleMs?: number; lockRetries?: number; lockMinTimeoutMs?: number; lockMaxTimeoutMs?: number; } export declare function defaultInferenceQueueRoot(): string; export declare class FileInferenceQueueStore implements InferenceQueueStore { readonly storeId: string; private readonly root; private readonly lockStaleMs; private readonly lockRetries; private readonly lockMinTimeoutMs; private readonly lockMaxTimeoutMs; constructor(options: FileInferenceQueueStoreOptions); private resolve; private assertResourceId; private writeAtomic; private readRaw; private readParsed; private withFileLock; create(resourceId: string, ledger: InferenceResourceLedger): Promise; load(resourceId: string): Promise; mutate(resourceId: string, mutation: (current: InferenceResourceLedger) => InferenceLedgerMutation): Promise>; listResources(): Promise; } export declare function createFileInferenceQueueStore(root?: string): FileInferenceQueueStore; //# sourceMappingURL=file-inference-queue-store.d.ts.map