export declare const WORKFLOWS_PATHS: string[]; export declare function extractWorkflowRelativePath(path: string): string | null; export declare function candidateWorkflowDirsFromPath(workflowPath: string, basePath: string): string[]; export declare function findWorkflowDirectoryFromPath(workflowPath: string | undefined, basePath?: string): string | null; export declare function fetchWorkflowPath(workflowName: string, catalog?: string): Promise; /** * Resolve the on-disk directory of a registered workflow by name. * * Flat-first so flat-layout projects resolve offline (no catalog round-trip) * exactly as before; nested folders fall through to the worker catalog, whose * `path` is re-rooted under `src/workflows` / `workflows`. */ export declare function resolveWorkflowDir(workflowName: string, basePath?: string, workflowPath?: string): Promise;