import { PvSearchInputProps } from '../PvSearchInput/PvSearchInput.vue'; import { PvResizeSize } from '../../../composables/useResizable'; import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; export interface PvDrawerProps { closeOnClickOutside?: boolean; /** Initial resizable width. Defaults to 600px, capped by the viewport. */ defaultWidth?: PvResizeSize; header?: string; /** Omit the built-in header when the drawer content provides its own. */ hideHeader?: boolean; /** Defaults to the viewport width. Percentages resolve against the viewport. */ maxWidth?: PvResizeSize; /** Only used when `resizable` is set. */ minWidth?: PvResizeSize; /** Show a drag handle that resizes the drawer horizontally. */ resizable?: boolean; /** * Which edge carries the drag handle. A drawer docked on the right of the * page is resized from its left edge, and vice versa. */ resizeEdge?: "left" | "right"; /** When set, the drawer's width is persisted to localStorage under this key. */ resizeStorageKey?: string; searchInputProps?: PvSearchInputProps; showSearchbar?: boolean; subheader?: string; } /** * @deprecated Use `PvDrawerProps` instead. Retained as an alias for backwards * compatibility with any existing imports of the props interface. */ export interface PvDrawer extends PvDrawerProps { } type __VLS_Props = PvDrawerProps; type __VLS_PublicProps = { "searchInput"?: string; "width"?: number; modelValue: boolean; } & __VLS_Props; declare function __VLS_template(): { attrs: Partial<{}>; slots: { header?(_: {}): any; default?(_: {}): any; footer?(_: {}): any; }; refs: { sidePanel: HTMLDivElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:modelValue": (value: boolean) => any; "update:searchInput": (value: string) => any; "update:width": (value: number) => any; } & { "click-outside": () => any; }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; "onUpdate:searchInput"?: ((value: string) => any) | undefined; "onClick-outside"?: (() => any) | undefined; "onUpdate:width"?: ((value: number) => any) | undefined; }>, { minWidth: PvResizeSize; resizable: boolean; closeOnClickOutside: boolean; resizeEdge: "left" | "right"; }, {}, {}, {}, string, ComponentProvideOptions, false, { sidePanel: HTMLDivElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };