import type { BaseCtx, HostTriggerConfig, TaskCtx, WorkflowCtx } from "./types.js"; /** * Arguments for context factory functions. * Derived from BaseCtx using Pick to ensure type alignment. */ type CreateCtxArgs = Pick, "fromSDK" | "triggerSource"> & { input: I; hostConfig: HostTriggerConfig; }; /** * Creates a TaskCtx from SDK Context for standalone task execution. * * @param args The arguments for creating the task context. */ export declare const createTaskCtx: (args: CreateCtxArgs) => TaskCtx; /** * Creates a WorkflowCtx from SDK Context for workflow task execution. * * @param args The arguments for creating the workflow context. */ export declare const createWorkflowCtx: (args: CreateCtxArgs) => WorkflowCtx; export {};