import { type CliIO, type Ctx } from "./shared.js"; export declare const HELP: string; export interface Command { run: (ctx: Ctx) => Promise | number | void; /** What `skillhook … --help` prints instead of running it; a function of the subcommand when that changes it. */ usage: string | ((args: string[]) => string); } export declare const COMMANDS: Record; /** The usage `skillhook [args…] --help` prints. */ export declare function usageOf(command: Command, args: string[]): string; export declare function nodeVersionProblem(version?: string): string | undefined; export declare function defaultIO(): CliIO; export declare function main(argv: string[], io?: CliIO): Promise;