/** * Plugin to detect the Bitrix24 application environment. * * @description * 1. Analyzes the User-Agent on the server-side (SSR) or client-side. * 2. Establishes a reactive `platform` state using `useState`. * 3. Injects attributes into the `` tag for styling: * - `data-platform="bitrix-mobile" | "bitrix-desktop" | "web"` * - `data-version="XX" | "XX.X.XX.XX" | "air"` * * @example * // In CSS: * html[data-platform="bitrix-mobile"] .my-component { ... } * html[data-platform="bitrix-desktop"] .my-component { ... } * * @example * * * * * @example * // Inside a Vue component: * const platform = useState('platform') * if (platform.value.name === 'bitrix-mobile') { ... } * if (platform.value.name === 'bitrix-desktop') { ... } * * @todo add docs */ declare const _default: import("nuxt/app").Plugin> & import("nuxt/app").ObjectPlugin>; export default _default;