import type { StdinData, UsageData } from './types.js'; import type { ModelFormatMode } from './config.js'; export declare function readStdin(): Promise; export declare function getTotalTokens(stdin: StdinData): number; export declare function getContextPercent(stdin: StdinData): number; export declare function getBufferedPercent(stdin: StdinData): number; export declare function getModelName(stdin: StdinData): string; export declare function isBedrockModelId(modelId?: string): boolean; export declare function getProviderLabel(stdin: StdinData): string | null; export declare function getUsageFromStdin(stdin: StdinData): UsageData | null; /** * Strips redundant context-window size suffixes from model display names. * * Claude Code may include the context window size in the display name * (e.g. "Opus 4.6 (1M context)"), but the HUD already shows context * usage via the context bar — so the parenthetical is redundant. */ export declare function stripContextSuffix(name: string): string; /** * Formats a model name according to the user's chosen display settings. * * When `override` is set, it replaces the model name entirely. * Otherwise, `format` controls how the raw name is abbreviated: * * full: Return raw name unchanged (e.g. "Opus 4.6 (1M context)") * compact: Strip context-window suffix (e.g. "Opus 4.6") * short: Strip context suffix AND leading "Claude " prefix (e.g. "Opus 4.6") */ export declare function formatModelName(name: string, format?: ModelFormatMode, override?: string): string; //# sourceMappingURL=stdin.d.ts.map