import { LitElement } from 'lit'; import '../button'; /** * Side Drawer. * @slot unnamed - Slot for drawer body content. * @slot anchor - Slot for the anchor button content. * @fires on-close - Emits the drawer close event with `returnValue` (`'ok'` or `'cancel'`).`detail:{ origEvent: PointerEvent,returnValue: string }` * @fires on-open - Emits the drawer open event. * @fires on-resize - Emits when the drawer is resized via drag. `detail: { width: number }` */ export declare class SideDrawer extends LitElement { static styles: import("lit").CSSResult[]; /** * Drawer open state. */ accessor open: boolean; /** * Drawer size. */ accessor size: 'md' | 'sm' | 'xl' | 'standard'; /** * Title / Heading text, required. */ accessor titleText: string; /** * Label text, optional. */ accessor labelText: string; /** * Submit button text. */ accessor submitBtnText: string; /** * Cancel button text. */ accessor cancelBtnText: string; /** Close button description (Required to support accessibility). */ accessor closeBtnDescription: string; /** Disables the primary button. */ accessor submitBtnDisabled: boolean; /** Apply gradient to modal background */ accessor gradientBackground: boolean; /** Determine whether needs footer */ accessor hideFooter: boolean; /** Changes the primary button styles to indicate the action is destructive. */ accessor destructive: boolean; /** Secondary button text. */ accessor secondaryButtonText: string; /** Hides the secondary button. */ accessor showSecondaryButton: boolean; /** Hides the cancel button. */ accessor hideCancelButton: boolean; /** Function to execute before the Drawer can close. Useful for running checks or validations before closing. Exposes `returnValue` (`'ok'` or `'cancel'`). Must return `true` or `false`. */ accessor beforeClose: Function; /** Set this to `true` for AI theme. */ accessor aiConnected: boolean; /** Set this to `true` for no backdrop */ accessor noBackdrop: boolean; /** Allow the drawer to be resized by dragging the left edge. Width is constrained between 384px and 1024px. */ accessor resizable: boolean; /** @internal - tracks active drag state for handle styling */ private accessor _dragging; /** @internal */ private _resizeStartX; /** @internal */ private _resizeStartWidth; /** @internal */ private _boundOnDragMove; /** @internal */ private _boundOnDragEnd; /** The dialog element * @internal */ accessor _dialog: any; render(): import("lit-html").TemplateResult<1>; private _openDrawer; private _closeDrawer; private _emitCloseEvent; private _emitOpenEvent; private _onDragStart; private _onDragMove; private _onDragEnd; updated(changedProps: any): void; } declare global { interface HTMLElementTagNameMap { 'kyn-side-drawer': SideDrawer; } } //# sourceMappingURL=sideDrawer.d.ts.map