import { type CliTask } from './taskUtils';
export type TaskErrorType = 'catalogue-missing' | 'invalid-catalogue' | 'no-tasks' | 'unsupported-file' | 'multiple-apps' | 'app-not-found';
export interface TaskError {
    type: TaskErrorType;
    message: string;
    help?: string[];
    directory?: string;
}
export interface TaskSelectionResult {
    tasks: CliTask[];
    warnings: Set<string>;
    errors: TaskError[];
    resolution: 'directory' | 'file' | 'name';
}
export declare function selectTasks(pathOrName: string): TaskSelectionResult;
export declare function reportTaskErrors(errors: TaskError[], command: string): void;
