import { CLBorderRadius, CLDrawerPosition, CLGenericFunction } from '../../../index.ts'; export interface CLDrawerProps { /** When set to `true`, the drawer will automatically size based on its content. When `false`, it uses `snapPoint` for percentage-based sizing. Defaults to `false`. */ autoSize?: boolean; /** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */ borderRadius?: CLBorderRadius; /** When set to `true`, the drawer is detached from the edges of the screen/container with gaps around it. Defaults to `false`. */ detached?: boolean; /** When `false,` the drawer will not close when clicking outside or pressing escape. It's default value is `true`. */ dismissible?: boolean; /** When set to `true`, the Drawer is visible. */ isOpen?: boolean; /** Sets the CSS left position for the main container. Accepts any valid CSS `left` value (e.g. '250px', '20%'). */ left?: string; /** A callback function to be called when the Drawer is closed. */ onClose?: CLGenericFunction; /** When set to `true`, it renders an overlay behind the drawer. It's default value is `true`. */ overlay?: boolean; /** Sets the position of the drawer. The property can be one of `CLDrawerPosition`, e.g. `CLDrawerPosition.Left`. */ position?: CLDrawerPosition; /** Optional key or value that, when changed, resets the drawer's scroll position to top. */ resetScrollKey?: unknown; /** When set to `true`, automatically resets scroll to top when drawer opens. Defaults to `true`. */ resetScrollOnOpen?: boolean; /** When set to `true`, it renders a Drawer with rounded corners using theme border radius or `borderRadius` prop. Defaults to `false`. */ rounded?: boolean; /** A decimal value from 0 to 1 that determines how much of the screen the drawer should open to. For example, 0.2 means 20% of the available screen. Defaults to 1 (100%). Only used when `autoSize` is `false`. */ snapPoint?: number; /** Sets a custom ID used for unit tests. */ testId?: string; /** Sets the CSS width for the main container. Accepts any valid CSS `width` value (e.g. '400px', '100%'). */ width?: string; /** The z-index of the Drawer. */ zIndex?: number | string; } declare const _default: __VLS_WithTemplateSlots>; recalculateSize: () => void; scrollToTop: (options?: ScrollToOptions | number) => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "drawer-open": () => any; "drawer-close": () => any; }, string, import('vue').PublicProps, Readonly & Readonly<{ "onDrawer-open"?: (() => any) | undefined; "onDrawer-close"?: (() => any) | undefined; }>, { left: string; width: string; rounded: boolean; testId: string; borderRadius: CLBorderRadius; position: CLDrawerPosition; snapPoint: number; overlay: boolean; autoSize: boolean; detached: boolean; dismissible: boolean; isOpen: boolean; onClose: CLGenericFunction; resetScrollKey: undefined; resetScrollOnOpen: boolean; zIndex: number | string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { 'drawer-content': HTMLDivElement; }, any>, { default?(_: {}): any; }>; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };