#!/usr/bin/env node import { type KeywordExtractorOptions, type KeywordScore } from "./KeywordExtractor.js"; export interface CliArgs { textInput?: string; inputFile?: string; language?: string; ngramSize?: number; dedupFunc?: string; dedupLim?: number; windowSize?: number; top?: number; verbose: boolean; help: boolean; parseErrors: string[]; } interface CliDeps { readFile(path: string): string; extract(text: string, options: KeywordExtractorOptions): KeywordScore[]; stdout(message: string): void; stderr(message: string): void; } export declare function parseCliArgs(argv: string[]): CliArgs; export declare function validateCliArgs(args: CliArgs): string[]; export declare function formatCliOutput(keywords: KeywordScore[], verbose: boolean): string; export declare function helpText(): string; export declare function runCli(argv: string[], deps?: Partial): number; export {}; //# sourceMappingURL=cli.d.ts.map