import { type ILogger } from "@thi.ng/logger/api";
import type { CLIAppConfig, CommandCtx } from "./api.js";
export declare const cliApp: <OPTS extends object, CTX extends CommandCtx<OPTS, OPTS>>(config: CLIAppConfig<OPTS, CTX>) => Promise<void>;
/**
 * Calls `tput cols` to obtain the number of columns in the current
 * terminal. Returns `fallback` in case of error.
 *
 * @param fallback
 */
export declare const terminalLineWidth: (fallback?: number) => number;
export declare const configureLogLevel: (logger: ILogger, verbose: boolean, quiet?: boolean) => void;
//# sourceMappingURL=cli.d.ts.map