import { type PipelineDefinition, type PipelineRun } from "./types.ts"; export declare function projectPipelinesDir(cwd: string): string; export declare function projectPipelineRunsDir(cwd: string): string; /** Validate one project-owned pipeline storage root without following a managed symlink first. */ export declare function assertProjectPipelineDirectory(cwd: string, name: "pipelines" | "pipeline-runs"): string; export interface DiscoverPipelineOptions { agentPipelinesDir: string; cwd: string; } export declare function loadPipelineDefinition(rootDir: string): PipelineDefinition | undefined; export declare function discoverPipelineDefinitions(options: DiscoverPipelineOptions): PipelineDefinition[]; export declare function findPipelineDefinition(options: DiscoverPipelineOptions, name: string): PipelineDefinition | undefined; /** Resolve a run's immutable definition path, with the normal discovery roots as a move-safe fallback. */ export declare function resolvePipelineDefinitionForRun(options: DiscoverPipelineOptions, run: Pick): PipelineDefinition | undefined; //# sourceMappingURL=discover.d.ts.map