import { AbstractTestContextFixture, type TestContextFactory } from '@dereekb/util/test'; import { type Firestore } from '@dereekb/firebase'; import { type TestFirestoreContext } from './firestore'; /** * Test instance that wraps a {@link TestFirestoreContext} and provides convenient access * to the underlying Firestore instance. * * Acts as the core building block for Firestore-only test scenarios. The context includes * fuzzed collection names to ensure test isolation. */ export declare class TestFirestoreInstance { readonly firestoreContext: TestFirestoreContext; constructor(firestoreContext: TestFirestoreContext); get firestore(): Firestore; } /** * Test fixture that manages the lifecycle of a {@link TestFirestoreInstance}. * * Extends {@link AbstractTestContextFixture} to handle setup/teardown of the Firestore * test environment, including fuzzed collection drivers for test isolation. */ export declare class TestFirestoreContextFixture extends AbstractTestContextFixture { get firestore(): Firestore; get firestoreContext(): TestFirestoreContext; } /** * Factory type for creating {@link TestFirestoreContextFixture} instances in test suites. */ export type TestFirestoreContextFactory = TestContextFactory; /** * @deprecated Use TestFirestoreContextFactory instead. */ export type JestTestFirestoreContextFactory = TestFirestoreContextFactory;