/**
 * Project-local saved command aliases and natural query shortcuts.
 * Local explicit parsing only — no hosted NLP.
 */
export declare const COMMAND_ALIASES_SCHEMA = "todos.command_aliases.v1";
export interface CommandAlias {
    name: string;
    argv: string[];
    description: string | null;
    created_at: string;
    updated_at: string;
}
export interface AliasStore {
    schema_version: typeof COMMAND_ALIASES_SCHEMA;
    aliases: Record<string, CommandAlias>;
    updated_at: string;
}
export interface QueryResolution {
    schema_version: typeof COMMAND_ALIASES_SCHEMA;
    input: string;
    source: "alias" | "builtin" | "composed" | "passthrough";
    argv: string[];
    explain: string;
    dry_run: boolean;
}
export interface ImportAliasesResult {
    schema_version: typeof COMMAND_ALIASES_SCHEMA;
    imported: number;
    skipped: number;
    conflicts: string[];
}
export declare function validateAliasName(name: string): {
    ok: true;
} | {
    ok: false;
    reason: string;
};
export declare function loadAliasStore(cwd?: string): AliasStore;
export declare function saveAliasStore(store: AliasStore, cwd?: string): void;
export declare function listCommandAliases(cwd?: string): CommandAlias[];
export declare function getCommandAlias(name: string, cwd?: string): CommandAlias | null;
export declare function saveCommandAlias(input: {
    name: string;
    command: string;
    description?: string;
}, cwd?: string): CommandAlias;
export declare function deleteCommandAlias(name: string, cwd?: string): boolean;
export declare function resolveCommandQuery(input: string, options?: {
    dry_run?: boolean;
}, cwd?: string): QueryResolution;
export declare function explainCommandQuery(input: string, cwd?: string): string;
export declare function exportCommandAliases(cwd?: string): AliasStore;
export declare function importCommandAliases(payload: AliasStore, strategy?: "skip" | "overwrite", cwd?: string): ImportAliasesResult;
export declare function getCommandAliasDocs(): string;
export declare function listBuiltinShortcuts(): Array<{
    pattern: string;
    argv: string[];
    explain: string;
}>;
//# sourceMappingURL=command-aliases.d.ts.map