/** Installed identity and presentation helpers for workflow sources. */ import type { WorkflowSource } from "../engine/types.ts"; import type { WorkflowDefinition } from "../flow/types.ts"; /** * The installed identity of a project-authored top-level workflow. * * Catalog files use the full `.workflow.ts` suffix. Explicit paths may name any TypeScript module the * loader accepts, so those fall back to stripping only `.ts`. Definition names remain author-owned for * composition and nested workflows; the host binds this file identity only at the top-level boundary. */ export declare function workflowFileIdentity(filePath: string): string; /** Bind a project file's canonical installed identity to its root definition without touching nested definitions. */ export declare function bindWorkflowFileIdentity(workflow: WorkflowDefinition, filePath: string): WorkflowDefinition; /** Preserve a recorded run's identity when its definition is reloaded for status or continuation. */ export declare function bindWorkflowIdentity(workflow: WorkflowDefinition, identity: string): WorkflowDefinition; /** Stable user-facing provenance: authored files keep their path; built-ins name their registry entry. */ export declare function workflowSourceLabel(source: WorkflowSource): string; //# sourceMappingURL=workflow-source.d.ts.map