UNPKG

openrouter-model-picker

Version:

Third-party React component for OpenRouter model selection

7 lines 510 B
export declare function formatPrice(price: number): string; export declare function formatContextLength(contextLength?: number): string; export declare function getCostTierColor(tier: string): string; export declare function getCostTierLabel(tier: string): string; export declare function truncateText(text: string, maxLength: number): string; export declare function debounce<T extends (...args: any[]) => any>(func: T, wait: number): (...args: Parameters<T>) => void; //# sourceMappingURL=formatters.d.ts.map