import { vi } from "vitest";
import type { CachedResource } from "../create-cached-resource.js";
import type { DiskCacheFs } from "../disk-cache.js";
export type MockCachedResource<T> = {
    [K in keyof CachedResource<T>]: CachedResource<T>[K] extends (...args: infer A) => infer R ? ReturnType<typeof vi.fn<(...args: A) => R>> : CachedResource<T>[K];
};
export declare function createMemFs(files?: Record<string, string>): DiskCacheFs;
export declare function createMockCachedResource<T>(bundledData: T): MockCachedResource<T>;
