import { Accessor } from '../../accessor/base.ts'; import { PathSpec } from '../../types.ts'; import type { ObjectStoreDriver } from './driver.ts'; export declare const MODIFIED = "2026-01-01T00:00:00Z"; export declare class FakeAccessor extends Accessor { readonly keyPrefix: string; constructor(keyPrefix?: string); } /** A map-of-bytes object store; keys ending "/" are dir markers. */ export declare class FakeStore { readonly objects: Map>; connects: number; readonly puts: [string, Uint8Array][]; readonly deletes: string[]; constructor(objects?: Record); under(pfx: string): string[]; text(key: string): string | null; contents(): Record; } export declare function spec(mountPath: string): PathSpec; export declare function makeDriver(store: FakeStore, findNarrowing?: boolean): ObjectStoreDriver; export declare class FakeManager { readonly writes: string[]; readonly unlinks: string[]; readonly subtrees: string[]; invalidateAfterWrite(path: string | PathSpec): Promise; invalidateAfterUnlink(path: string | PathSpec): Promise; invalidateSubtree(path: string | PathSpec): Promise; cachedBytes(_path: PathSpec): Promise; } export declare function codeOf(promise: Promise): Promise; //# sourceMappingURL=fakes.d.ts.map