declare function withCommas(amount: number | string): string;

/**
 * split seconds into hours, minutes, and seconds
 */
declare function secondToTime(second: number, to: "h" | "m"): {
    h: number;
    m: number;
    s: number;
};

declare const toPascalCase: (str: string) => string;
declare const toCamelCase: (str: string) => string;
declare const toKebabCase: (str: string) => string;

declare function parseArgv(argv: string[]): Record<string, string | boolean>;

declare const percentToRatio: (percent: number | string) => number;
declare const ratioToPercent: (ratio: number, fixed?: number) => string;

export { parseArgv, percentToRatio, ratioToPercent, secondToTime, toCamelCase, toKebabCase, toPascalCase, withCommas };
