export interface CuiDrawerProps { /** * @description Whether the drawer is open. Used with v-model. */ modelValue?: boolean; /** * @description Title displayed in the drawer header. */ title?: string; /** * @description Width of the drawer when open. Any CSS length. */ width?: string; /** * @description Whether to show the close button in the header. */ closable?: boolean; /** * @description Accessible label for the close button. */ closeLabel?: string; /** * @description Viewport width in pixels below which the drawer overlays * content instead of pushing it. Ignored when inside a CuiApp (the app's * mobile state is used instead). */ mobileBreakpoint?: number; /** * @description Whether clicking the mobile backdrop closes the drawer. */ dismissable?: boolean; /** * @description Force the mobile overlay layout regardless of viewport or * CuiApp state. Useful when the drawer is embedded inside a narrow layout * container (e.g. a split panel) and should always overlay rather than push. */ forceMobile?: boolean; /** * @description When true, render the drawer at its DOM location instead * of teleporting it into CuiApp's drawer outlet. Use this for drawers * that should live inside a smaller container — e.g. inside a card — * rather than alongside the app's main content. Defaults to `false`, * which means the drawer teleports into CuiApp's outlet (the wrapper * around the default content slot) so it behaves as a sibling of the * page content without requiring any extra markup. */ inline?: boolean; /** * @description Whether to teleport the drawer (and backdrop) out of its * DOM location on mobile, so it can fill the full screen width instead * of being clipped by the parent's padding or overflow. Only applies in * mobile mode; desktop mode stays in flow so it can push content. * Ignored when inside a CuiApp — the outlet teleport takes precedence. */ teleport?: boolean; /** * @description Target for the mobile teleport. Accepts a CSS selector * string or an HTMLElement. Defaults to `body`. For embedded previews * (e.g. a phone-shaped container), pass the container — give it a * `transform` so it acts as the containing block for the fixed drawer. */ teleportTo?: string | HTMLElement; /** * @description When true and the drawer is closed, render a vertical * tab with the title instead of hiding the drawer completely. Clicking * the tab opens the drawer. When the drawer is open, the tab is not * shown. Has no effect when `title` is empty and no `title` slot is * provided. */ tab?: boolean; /** * @description Width of the vertical tab when the drawer is closed. * Any CSS length. Defaults to `"40px"`. */ tabWidth?: string; } declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ /** * Default slot: the drawer's body content. */ default?: () => any; /** * Custom title slot; overrides the `title` prop when provided. */ title?: () => any; /** * Footer content rendered at the bottom of the drawer. */ footer?: () => any; }> & { /** * Default slot: the drawer's body content. */ default?: () => any; /** * Custom title slot; overrides the `title` prop when provided. */ title?: () => any; /** * Footer content rendered at the bottom of the drawer. */ footer?: () => any; }; refs: {}; rootEl: any; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import('vue').DefineComponent any; close: () => any; open: () => any; }, string, import('vue').PublicProps, Readonly & Readonly<{ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; onClose?: (() => any) | undefined; onOpen?: (() => any) | undefined; }>, { title: string; width: string; modelValue: boolean; closable: boolean; mobileBreakpoint: number; inline: boolean; tab: boolean; dismissable: boolean; forceMobile: boolean; teleport: boolean; teleportTo: string | HTMLElement; tabWidth: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };