export declare const TELEGRAM_LIMITS: { readonly messageText: 4096; readonly caption: 1024; readonly callbackData: 64; readonly buttonsPerRow: 8; readonly buttonsPerMessage: 100; readonly buttonText: 64; readonly photosPerMessage: 10; }; export declare const byteLen: (s: string) => number; /** Truncate to max chars, appending an ellipsis marker if the input was longer. Never returns >max. */ export declare function truncateText(text: string, max: number): string; /** Clamp an array to max items; return the kept items plus how many overflowed (for an overflow signal). */ export declare function clampArray(items: readonly T[], max: number): { items: T[]; overflow: number; }; //# sourceMappingURL=budget.d.ts.map