import { type TestContext as BaseTestContext } from "./vitest-compat.js"; import { ManifestLog } from "../manifest-log.js"; import type { BlobStore } from "../types.js"; /** Context available to each ManifestLog test */ export interface ManifestTestContext extends BaseTestContext { blobStore: BlobStore; manifest: ManifestLog; manifestPrefix: string; cleanup?: () => Promise; } /** * Sets up a ManifestLog test context. * Each test gets its own isolated FakeBlobStore and ManifestLog. * Uses real blob store if INTEGRATION_TEST=1. */ export declare function setupManifestTestContext(): void; /** Typed test function that receives ManifestTestContext */ type TypedTestFn = (ctx: ManifestTestContext) => Promise | void; /** Typed `it` that provides ManifestTestContext to tests */ export declare const it: (name: string, fn: TypedTestFn) => void; export {}; //# sourceMappingURL=manifest-test-setup.d.ts.map