import { Command } from "commander";
import { getPackageVersion } from "../lib/package-version.js";
import type { Project, Task } from "../types/index.js";
export { getPackageVersion };
export declare function handleError(e: unknown): never;
export declare function setProgramRef(p: Command): void;
export declare function resolveTaskId(partialId: string): string;
export declare function detectGitRoot(): string | null;
/**
 * Resolve an explicitly provided project reference by registered path, exact or
 * partial ID, task list ID, slug, or name. An unresolvable reference is a hard
 * error — it must never silently degrade into "no project filter".
 */
export declare function resolveExplicitProject(input: string): Project;
export declare function autoDetectProject(opts: {
    project?: string;
}): Project | undefined;
export declare function autoProject(opts: {
    project?: string;
}): string | undefined;
/** Normalize user-friendly status aliases to canonical TaskStatus values */
export declare function normalizeStatus(s: string): string;
export declare function normalizeStatusList(statuses: string | string[]): string | string[];
export declare function output(data: unknown, jsonMode: boolean): void;
export declare const statusColors: Record<string, (s: string) => string>;
export declare const priorityColors: Record<string, (s: string) => string>;
export declare function formatTaskLine(t: Task): string;
//# sourceMappingURL=helpers.d.ts.map