import type { DrawerRootProps, DrawerRootEmits } from 'vaul-vue'; import type { DialogContentProps, DialogContentEmits } from 'reka-ui'; import type { AppConfig } from '@nuxt/schema'; import theme from '#build/ui/drawer'; import type { EmitsToProps, ComponentConfig } from '../types/utils'; type Drawer = ComponentConfig; export interface DrawerProps extends Pick { /** * The element or component this component should render as. * @defaultValue 'div' */ as?: any; title?: string; description?: string; /** * Whether to inset the drawer from the edges. * @defaultValue false */ inset?: boolean; /** The content of the drawer. */ content?: Omit & Partial>; /** * Render an overlay behind the drawer. * @defaultValue true */ overlay?: boolean; /** * Render a handle on the drawer. * @defaultValue true */ handle?: boolean; /** * Render the drawer in a portal. * @defaultValue true */ portal?: boolean | string | HTMLElement; class?: any; ui?: Drawer['slots']; } export interface DrawerEmits extends DrawerRootEmits { } export interface DrawerSlots { default(props?: {}): any; content(props?: {}): any; header(props?: {}): any; title(props?: {}): any; description(props?: {}): any; body(props?: {}): any; footer(props?: {}): any; } declare const _default: __VLS_WithSlots any; drag: (percentageDragged: number) => any; "update:open": (open: boolean) => any; release: (open: boolean) => any; "update:activeSnapPoint": (val: string | number) => any; animationEnd: (open: boolean) => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ onClose?: (() => any) | undefined; onDrag?: ((percentageDragged: number) => any) | undefined; "onUpdate:open"?: ((open: boolean) => any) | undefined; onRelease?: ((open: boolean) => any) | undefined; "onUpdate:activeSnapPoint"?: ((val: string | number) => any) | undefined; onAnimationEnd?: ((open: boolean) => any) | undefined; }>, { modal: boolean; portal: boolean | string | HTMLElement; overlay: boolean; direction: import("vaul-vue").DrawerDirection; dismissible: boolean; handle: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, DrawerSlots>; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };