import { DuetColor, DuetLanguage, DuetTheme } from "../../common-types"; import { ThemeableComponent } from "../../common/themeable-component"; /** * @slot sticky-header - Content will be fixed to the top of the modal when scrolling. */ export declare class DuetSlideoutPanel implements ThemeableComponent { /** * Own Properties. */ private dialog; private openButton; private closeButton; private exitLangObject; private backLangObject; private hasStickyHeaderSlot; private mutationObserver; label: Element; language: DuetLanguage; bodyScrollLocked: boolean; /** * Reference to host HTML element. */ element: HTMLElement; /** * Theme. */ theme: DuetTheme; /** * Active */ active: boolean; /** * Open */ open: boolean; /** * Icon */ icon: string; /** * Size. Small, medium or large. */ labelSize: "small" | "medium" | "large"; /** * Background color. Use one of the color tokens. */ backgroundColor: DuetColor; /** * Show a badge that indicates something has changed. */ badge: boolean; /** * Component lifecycle events. */ componentWillLoad(): void; connectedCallback(): void; disconnectedCallback(): void; private updateLabel; handleOpenChange(newValue: any, oldValue: any): void; private toggleMenu; private onClick; private onCloseClick; /** * Sets focus. Use this method instead of the global focus(). */ setFocus(options?: FocusOptions): Promise; /** * render() function * Always the last one in the class. */ render(): any; }