import type { UserIdentityAttributes } from "convex/server"; import type { UdfExec, UdfExecutionOptions, UdfResult } from "@concavejs/core/udf"; import type { WireAuthContext } from "@concavejs/core/auth"; /** * Serializes UDF execution to avoid async context bleed in environments * without AsyncLocalStorage (for example browser and React Native runtimes). */ export declare class SerializedUdfExecutor implements UdfExec { private readonly inner; private queue; constructor(inner: UdfExec); execute(path: string, args: Record, type: "query" | "mutation" | "action", auth?: WireAuthContext | UserIdentityAttributes, componentPath?: string, requestId?: string, snapshotTimestamp?: bigint, options?: UdfExecutionOptions): Promise; executeHttp(request: Request, auth?: WireAuthContext | UserIdentityAttributes, requestId?: string): Promise; private enqueue; }