import { BootstrapElement } from '@bootstrap-wc/core'; export type OffcanvasPlacement = 'start' | 'end' | 'top' | 'bottom'; export type OffcanvasResponsiveBreakpoint = 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; /** * `` — Bootstrap offcanvas (side drawer). * * @fires bs-show / bs-shown / bs-hide / bs-hidden */ export declare class BsOffcanvas extends BootstrapElement { open: boolean; placement: OffcanvasPlacement; heading?: string; bodyScroll: boolean; noBackdrop: boolean; staticBackdrop: boolean; noCloseButton: boolean; dark: boolean; /** * When set to one of `sm|md|lg|xl|xxl`, renders `.offcanvas-{bp}` so the * panel is hidden as an offcanvas only below that breakpoint and becomes * an inline column at/above it (Bootstrap "Responsive" variant). */ responsive?: OffcanvasResponsiveBreakpoint; /** * Render the panel inline (`position: static`) instead of as a fixed * drawer. Suppresses the backdrop and the focus trap. Use for in-page * documentation / reference rendering of the panel chrome — Bootstrap's * "Offcanvas components" docs use the same pattern. */ staticDisplay: boolean; private _panel; private _trap; connectedCallback(): void; disconnectedCallback(): void; updated(changed: Map): void; show(): void; hide(): void; toggle(): void; private _onKeydown; private _onBackdropClick; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'bs-offcanvas': BsOffcanvas; } } //# sourceMappingURL=offcanvas.d.ts.map