import type { FrameworkContext } from '@rangka/shared'; import type { SchemaRegistry } from '../schema/registry.js'; import type { RequestContext } from '../auth/types.js'; import type { EventBus } from '../events/bus.js'; import type { ServiceRegistry } from '../services/registry.js'; import type { AdapterRegistry } from '../plugins/adapter-registry.js'; export interface HookContextOptions { trx: unknown; schema: SchemaRegistry; auth: RequestContext; eventBus?: EventBus; serviceRegistry?: ServiceRegistry; config?: Record; adapterRegistry?: AdapterRegistry; } /** * Build a full FrameworkContext for hooks, scoped to the current transaction and auth. */ export declare function createHookContext(opts: HookContextOptions): FrameworkContext; //# sourceMappingURL=context.d.ts.map