import { Command } from 'commander';
export type ParsedHeartbeatArgs = {
    command?: string;
    subcommand?: string;
    rest: string[];
    flags: Record<string, string | boolean>;
};
type HeartbeatCommandBuilder = (args: ParsedHeartbeatArgs) => void;
export declare function buildHeartbeatCommand(onParsed?: HeartbeatCommandBuilder): Command;
export declare function parseHeartbeatArgs(args: string[]): ParsedHeartbeatArgs;
export declare function renderHeartbeatHelp(args: string[]): string;
export declare function stringFlag(flags: Record<string, string | boolean>, name: string): string | undefined;
export declare function booleanFlag(flags: Record<string, string | boolean>, name: string): boolean;
export declare function parsePositiveInt(raw: string | undefined): number | undefined;
export {};
//# sourceMappingURL=args.d.ts.map