import { AbstractWrappedFixtureWithInstance, type TestWrappedContextFactoryBuilder } from '@dereekb/util/test'; import { type TestFirebaseStorage, type TestFirebaseStorageContextFixture, type TestFirebaseStorageInstance } from '../storage/storage.instance'; /** * Provides access to Firebase Storage for a single test run within a mock item context. * * Created by {@link MockItemStorageFixture} and exposes the parent fixture's storage and storage context. */ export declare class MockItemStorageFixtureInstance implements TestFirebaseStorageInstance { readonly fixture: MockItemStorageFixture; constructor(fixture: MockItemStorageFixture); get storage(): import("@dereekb/firebase").FirebaseStorage; get storageContext(): import("..").TestFirebaseStorageContext; } /** * Test fixture that wraps a {@link TestFirebaseStorageContextFixture} and provides access to * Firebase Storage via {@link MockItemStorageFixtureInstance}. * * Use {@link testWithMockItemStorageFixture} to create a factory builder for this fixture. */ export declare class MockItemStorageFixture extends AbstractWrappedFixtureWithInstance implements TestFirebaseStorage { get storage(): import("@dereekb/firebase").FirebaseStorage; get storageContext(): import("..").TestFirebaseStorageContext; } /** * Configuration options for {@link testWithMockItemStorageFixture}. * * Currently empty; reserved for future setup/teardown customization. */ export interface MockItemStorageFirebaseStorageContextConfig { } /** * Creates a {@link TestWrappedContextFactoryBuilder} that sets up a {@link MockItemStorageFixture} * around a parent {@link TestFirebaseStorageContextFixture}. * * Compose with a Firebase test context factory to get a fully wired storage test environment: * * @example * ```ts * const f = testWithMockItemStorageFixture()(authorizedFirebaseFactory); * describe('storage test', () => f.with((instance) => { * it('should upload', () => { ... }); * })); * ``` */ export declare function testWithMockItemStorageFixture(_config?: MockItemStorageFirebaseStorageContextConfig): TestWrappedContextFactoryBuilder;