/** `dir` is the project directory, `name` the workflow's name, and `file` * the absolute path of its JSON file. */ export type WorkflowFile = { dir: string; name: string; file: string; }; export type Located = { found: WorkflowFile; error: null; } | { found: null; error: string; }; /** A workflow named by its file, `/workflows/.json`, or by a * bare name in `/workflows`. */ export declare function locateWorkflow(arg: string, cwd: string): Located;