import type { HfAccessor } from '../../accessor/hf.ts'; export interface FakeHfOperator { files: Map; read: (key: string, options?: { offset?: bigint; size?: bigint; }) => Promise; reader: (key: string) => Promise<{ read: (buf: Buffer) => Promise; }>; stat: (key: string) => Promise; list: (path: string, options?: { recursive?: boolean; }) => Promise; write: (key: string, data: Buffer | string) => Promise; delete: (key: string) => Promise; createDir: (key: string) => Promise; } interface FakeMetadata { isDirectory: () => boolean; isFile: () => boolean; contentLength: bigint | null; etag: string | null; lastModified: string | null; } interface FakeEntry { path: () => string; name: () => string; metadata: () => FakeMetadata; } export declare function fakeHfOperator(initial?: Record): FakeHfOperator; export declare function installFakeOperator(accessor: HfAccessor, fake: FakeHfOperator): void; export {}; //# sourceMappingURL=mock.d.ts.map