import { Direction, ScrollBodyOption } from '../shared/types'; import { Ref } from 'vue'; interface ConfigProviderContextValue { dir?: Ref; scrollBody?: Ref; nonce?: Ref; useId?: () => string; } export declare const injectConfigProviderContext: (fallback?: T | undefined) => T extends null ? ConfigProviderContextValue | null : ConfigProviderContextValue, provideConfigProviderContext: (contextValue: ConfigProviderContextValue) => ConfigProviderContextValue; export interface ConfigProviderProps { /** * The global reading direction of your application. This will be inherited by all primitives. * @defaultValue 'ltr' */ dir?: Direction; /** * The global scroll body behavior of your application. This will be inherited by the related primitives. * @type boolean | ScrollBodyOption */ scrollBody?: boolean | ScrollBodyOption; /** * The global `nonce` value of your application. This will be inherited by the related primitives. * @type string */ nonce?: string; /** * The global `useId` injection as a workaround for preventing hydration issue. */ useId?: () => string; } declare const _default: __VLS_WithTemplateSlots, { dir: string; scrollBody: boolean; nonce: undefined; useId: undefined; }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly, { dir: string; scrollBody: boolean; nonce: undefined; useId: undefined; }>>>, { dir: Direction; scrollBody: boolean | ScrollBodyOption; nonce: string; useId: () => string; }, {}>, { default?(_: {}): any; }>; export default _default; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_PrettifyLocal : P[K]; }; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToOption = { [K in keyof T]-?: {} extends Pick ? { type: import('vue').PropType<__VLS_NonUndefinedable>; } : { type: import('vue').PropType; required: true; }; }; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; }; type __VLS_PrettifyLocal = { [K in keyof T]: T[K]; } & {};