import { Currency, CurrencyCode } from './types'; /** * Persists the currency format in the Session storage. * * @param format The currency format to persist. * @returns The result of setting the currency format in the Session storage. * * Example: * ```ts * setCurrencyFormat("%v %s"); // Persists the currency format in the Session storage * setCurrencyFormat(" %v %s "); // Trims the format string and persists it in the Session storage * setCurrencyFormat(null); // Sets an empty string as the currency format in the Session storage * ``` */ declare function setCurrencyFormat(format: string): void | Promise; export declare const session: { getFormat: (force?: boolean) => string; setFormat: typeof setCurrencyFormat; setCurrency: (currency: Currency | CurrencyCode) => Currency; getCurrency: () => Currency; defaultCurrencyFormat: string; }; export {};