/** * Calculates the byte size of a string, * useful in environments lacking `TextEncoder`, `Blob`, or `Buffer` support, * such as Figma plugins. */ export declare function calculateBytes(str: string): number;