import type { CliOptions } from '../types.ts';
/** Opaque handler return value. The entry point normalizes any shape
 *  into `{ payload, exitCode, close? }` at runtime via type guards. */
export type CommandHandlerResult = unknown;
/** Common signature every CLI command handler satisfies. Extra keys
 *  beyond `options`/`args` are ignored by handlers that don't need them. */
export type CommandHandler = (opts: {
    readonly options: CliOptions;
    readonly args: string[];
}) => Promise<CommandHandlerResult>;
export declare const COMMANDS: ReadonlyMap<string, CommandHandler>;
