import type { PipelineFileSystem } from "../types.js";
type DiscoveryFs = Pick<PipelineFileSystem, "readFile" | "readdir" | "stat">;
export declare function resolvePlanDirectory(options: {
    cwd: string;
    homeDir: string;
    planDirectory?: string;
}): string;
export declare function resolveAbsolutePlanPath(planPath: string, cwd: string, homeDir: string): string;
export declare function resolvePlanPath(options: {
    cwd: string;
    homeDir: string;
    plan?: string;
    plans?: string[];
    planDirectory?: string;
    assumeYes?: boolean;
    fs?: DiscoveryFs;
    selectPlan?: (input: {
        message: string;
        options: Array<{
            label: string;
            value: string;
        }>;
    }) => Promise<string | null>;
    selectPlans?: (input: {
        message: string;
        options: Array<{
            label: string;
            value: string;
        }>;
        required: boolean;
    }) => Promise<string[] | null>;
    promptForPath?: (input: {
        message: string;
        placeholder: string;
    }) => Promise<string | null>;
}): Promise<string | null>;
export declare function resolvePlanPaths(options: {
    cwd: string;
    homeDir: string;
    plan?: string;
    plans?: string[];
    planDirectory?: string;
    assumeYes?: boolean;
    fs?: DiscoveryFs;
    selectPlan?: (input: {
        message: string;
        options: Array<{
            label: string;
            value: string;
        }>;
    }) => Promise<string | null>;
    selectPlans?: (input: {
        message: string;
        options: Array<{
            label: string;
            value: string;
        }>;
        required: boolean;
    }) => Promise<string[] | null>;
    promptForPath?: (input: {
        message: string;
        placeholder: string;
    }) => Promise<string | null>;
}): Promise<string[] | null>;
export {};
