/** * Support for the `t.run(handler)` test seam. * * `t.run` executes an ad-hoc handler with a real `MutationCtx` inside a real * OCC transaction — no bypass. It is driven through the normal UDF path by * registering a synthetic internal mutation whose body invokes a per-call * closure looked up from a slot table. Because the handler runs in the same * process, its return value is handed back in-process through the slot (so it * may be any value, including a `Blob`) rather than the JSON UDF-result * channel. */ /** Reserved module path for the synthetic run mutation. Not a user module. */ export declare const TEST_RUN_MODULE_PATH = "__concaveTestRun"; export declare const TEST_RUN_MUTATION = "runMutation"; export interface TestRunSlot { handler: (ctx: any) => Promise | unknown; result?: unknown; } /** Build the synthetic internal-mutation module that drives `t.run`. */ export declare function createTestRunModule(slots: Map): Record; /** Does `modulePath` address the synthetic run module? */ export declare function isTestRunModulePath(modulePath: string): boolean;