import type { WorkflowDefinition } from "../flow/types.ts"; /** * Load a workflow `.ts` file at runtime (spec §1.4: "loaded via PI's existing TypeScript * loader ... on `/workflow run`"). Uses `jiti` — the same TS-loading approach PI's own CLI * depends on — so no separate build step is required for workflow authors. * * A fresh jiti per call, deliberately: its module cache is per-instance, so a workflow edited between * two runs of the same session is re-read rather than served stale. * * Accepts either `export default workflow` or `export const workflow = ...`. */ export declare function loadWorkflowFile(absolutePath: string): Promise; //# sourceMappingURL=load-workflow.d.ts.map