import { runInContext, requireContext, getContext } from '../context/store.js'; import { createTestContext } from '../context/create.js'; /** AsyncLocalStorage context namespace — manages request/job/test contexts that carry auth, tenant, transactions. */ export declare const flow: { /** Executes a function within a Flow context (AsyncLocalStorage). All pipe() calls inside will use this context. */ run: typeof runInContext; /** Returns the current Flow or throws — use in code that must run inside a managed context. */ require: typeof requireContext; /** Returns the current Flow or undefined — use for optional context detection. */ get: typeof getContext; /** Creates a Flow for test isolation with optional auth and tenant overrides. */ createTest: typeof createTestContext; }; //# sourceMappingURL=namespace.d.ts.map