import type { TaskConstructor } from "@db-lyon/flowkit"; import type { FlowContext } from "./context.js"; /** * Create a TaskConstructor for a bridge-delegation action. * The bridge method (and optional param mapper) are closed over in the class. */ export declare function bridgeTaskClass(name: string, method: string, mapParams?: (p: Record) => Record, timeoutMs?: number): TaskConstructor; /** * Create a TaskConstructor that wraps an existing async handler function. * Used for the ~19 direct-handler actions (editor control, project ops, etc.). */ export declare function handlerTaskClass(name: string, fn: (ctx: FlowContext, params: Record) => Promise): TaskConstructor;