declare const checkpointLockBrand: unique symbol; export interface DerivedCheckpointLock { readonly root: string; readonly [checkpointLockBrand]: true; } export type DerivedCheckpointDirectoryKind = "absent" | "directory" | "symlink" | "other"; export declare function derivedCheckpointDirectoryKind(wikiRoot: string): Promise; export declare function withDerivedCheckpointLock(wikiRoot: string, operation: (lock: DerivedCheckpointLock) => Promise): Promise; export declare function usingDerivedCheckpointLock(wikiRoot: string, existing: DerivedCheckpointLock | undefined, operation: () => Promise): Promise; export {}; //# sourceMappingURL=checkpoint-lock.d.ts.map