import { type PostgresJsDatabase } from '../data/query/postgres-js/index.js'; import type { Manifold } from '../core/pipework.js'; import { type TestDatabase } from './setup.js'; import { runInContext } from '../request/context/store.js'; import type { Flow } from '../request/context/types.js'; import type { ResolvedObservability } from '../core/config/load.js'; export interface TestDatabaseConnections { [name: string]: PostgresJsDatabase; } export interface TestContext { id: string; db: TestDatabaseConnections; } export declare function beginTestIsolation(instance: Manifold): Promise; export declare function endTestIsolation(instance: Manifold, ctx: TestContext): Promise; export declare function createTestContext(instance: Manifold, testConnections: TestContext, auth?: unknown, tenant?: string | null): Flow; export declare function propagateTestSessionVars(instance: Manifold, testConnections: TestContext, tenant: string): Promise; export declare function createSetupConnection(testDb: TestDatabase, observability?: ResolvedObservability): { drizzle: PostgresJsDatabase; close: () => Promise; }; export { runInContext }; //# sourceMappingURL=plugin.d.ts.map