/** * Get the browser's language. * * @returns The browser's language. * @example * // returns 'en-US' or other language code * const language = getLanguage(); */ export declare const getLanguage: () => string; /** * Get a message based on the provided language. * * @param language - The language code to get the message for. * @returns The message for the specified language or a default message if `i18n` is not defined or window is not available. * @example * const i18n = { en: 'Hello', es: 'Hola' }; * // returns 'Hello' * const message = getMessage('en'); */ export declare const getMessage: (language?: string) => string;