import { Plugin, Ref } from 'vue'; import { ThemeConfig, ThemeState } from './types'; export interface MazUiThemeOptions extends Omit { /** * Inject critical CSS * @description Inject critical CSS to prevent FOUC * @default true * @private */ injectCriticalCSS?: boolean; /** * Inject full CSS * @description Inject full CSS to ensure all styles are loaded * @default true * @private */ injectFullCSS?: boolean; } /** * @example * ```ts * import { MazUiTheme } from '@maz-ui/themes/plugin' * import { mazUi } from '@maz-ui/themes/presets/mazUi' * * app.use(MazUiTheme, { * preset: mazUi, * strategy: 'hybrid', * darkMode: 'class', * }) * ``` */ export declare const MazUiTheme: Plugin<[MazUiThemeOptions]>; declare module 'vue' { interface ComponentCustomProperties { /** * Maz theme plugin options * @description You should install the plugin to use this property * @example * ```ts * import { MazUiTheme } from '@maz-ui/themes/plugin' * import { createApp } from 'vue' * * const app = createApp(App) * app.use(MazUiTheme, { preset: mazUi }) * * const { setColorMode, toggleDarkMode } = useTheme() * setColorMode('dark') * toggleDarkMode() */ $mazThemeState: Ref; } } //# sourceMappingURL=plugin.d.ts.map