#!/usr/bin/env node /** * @fileoverview Textavia CLI entrypoint. * * Wires the `textavia` and `txv` binaries. Commander renders --help/--version; * all dispatch flows through {@link runCli} so the dynamic command grammar and * passthrough tool options stay deterministic and testable. */ import { Command } from 'commander'; export declare const CLI_VERSION = "0.1.4"; export declare const CLI_NAME = "txv"; /** Builds a Commander program used to render help and version output. */ export declare function buildHelpProgram(): Command; /** Builds the help text string without triggering a process exit. */ export declare function buildHelpText(): string; /** Program entrypoint. Returns the exit code; never resolves to undefined. */ export declare function main(argv: readonly string[]): Promise; export declare function isDirectCliEntry(moduleUrl: string, argvPath?: string | undefined): boolean; //# sourceMappingURL=cli.d.ts.map