import type { SourceConfig, SourceState } from "../types.js"; export declare function atomicJson(path: string, value: unknown): Promise; export declare function readJson(path: string): Promise; export declare function loadState(root: string): Promise; export declare function saveState(root: string, state: SourceState): Promise; export declare function supervisorLease(root: string): Promise<() => Promise>; export declare function reserveCall(root: string, state: SourceState, config: SourceConfig): Promise;