import type { PinStore, PinnedServer } from './types.js'; export declare function pinRevision(pin: PinnedServer | undefined): string | null; /** One atomic file per server; hashed filenames cannot escape the state directory. */ export declare class FilePinStore implements PinStore { private readonly dir; constructor(dir?: string); private path; getPin(id: string): Promise; putPin(pin: PinnedServer): Promise; /** Compare-and-swap prevents approval/revocation of state that changed since review. */ replace(id: string, expected: string | null, pin?: PinnedServer): Promise; } //# sourceMappingURL=pin-store.d.ts.map