/** * Parses an expiry format string (e.g. "p1d", "p2w") and extracts the cycle and cadence. * * Supported cadences: * - d: Day * - w: Week * - m: Month * - y: Year * * @param expiryFormat - A string in the format "p" * @returns An object with `cycle` (number) and `cadence` (string), or `undefined` if invalid. */ export declare function parseExpiryFormat(expiryFormat: string): { cycle: number; cadence: string; } | undefined; /** * Converts an expiry format string (e.g. "p1d", "p2w") into a human-readable recurrence label. * * Examples: * - "p1d" → "daily" * - "p2d" → "every 2 days" * - "p1w" → "weekly" * - "p2w" → "every 2 weeks" * * @param expiryFormat - A string in the format "p" * @returns A human-readable string label like "daily", "every 2 weeks", or undefined if invalid. */ export declare function formatExpiryLabel(expiryFormat: string): string | undefined; /** * Formats a number to a currency string * @example * const formattedAmount1 = formatAmountToCurrency('1000', 'USD'); * Output: $1,000.00 * const formattedAmount2 = formatAmountToCurrency(1500, 'EUR', true); * Output: €1,500.00 EUR */ export declare const formatAmountToCurrency: (amount: string | number | undefined, currency?: string, showCurrencyText?: boolean) => string;