UNPKG

@bitrix24/b24ui-nuxt

Version:

Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE

49 lines (48 loc) 1.77 kB
import type { Ref } from 'vue'; import type { NuxtApp } from '#app'; export { useHead } from '@unhead/vue'; export { useAppConfig } from '../composables/useAppConfig'; export { defineShortcuts } from '../../composables/defineShortcuts'; export { defineLocale } from '../../composables/defineLocale'; export { useLocale } from '../../composables/useLocale'; export { useConfetti } from '../../composables/useConfetti'; export { useOverlay } from '../../composables/useOverlay'; export declare const clearError: () => void; /** * @memo need add for prose components */ export declare const useRuntimeConfig: () => { public: null; }; export declare const useColorMode: () => { forced: boolean; preference?: undefined; readonly value?: undefined; } | { preference: import("@vueuse/core").BasicColorMode | "system"; readonly value: import("@vueuse/core").BasicColorMode; forced: boolean; }; export declare const useCookie: <T = string>(_name: string, _options?: Record<string, any>) => { value: T; get: () => T; set: () => void; update: () => void; refresh: () => Promise<Awaited<T>>; remove: () => void; }; export declare const useState: <T>(key: string, init: () => T) => Ref<T>; export declare function useNuxtApp(): { isHydrating: boolean; payload: { serverRendered: any; }; hooks: import("hookable").Hookable<Record<string, any>, string>; hook: <NameT extends string>(name: NameT, function_: any, options?: { allowDeprecated?: boolean; }) => () => void; }; export declare function useRuntimeHook(name: string, fn: (...args: any[]) => void): void; export declare function defineNuxtPlugin(plugin: (nuxtApp: NuxtApp) => void): { install(app: import("vue").App<any>): void; };