import { TabSizeType } from "../../type/button"; import { MdsPrefChangeEventDetail } from "../../event-detail/preference"; /** * @name Pref * @description This component is based on MdsTab component pattern * @overview * Accessibility preferences in web browsers allow users to customize their navigation to improve readability, interaction, and usability. Common options include dark mode, text resizing, screen reader support, keyboard navigation, and blocking animated content. These settings help people with visual, hearing, motor, or cognitive disabilities experience the web more effectively and inclusively. * @tags pattern, user, tab * @slot - Add `mds-pref-animation`, `mds-pref-consumption`, `mds-pref-contrast`, `mds-pref-language`, `mds-pref-mode` or `mds-pref-theme` element/s. * @example * * * * * * * * * * * @category preferences */ export declare class MdsPref { /** * Sets the size of the component items nested inside it */ readonly size?: TabSizeType; host: HTMLMdsPrefElement; showReload: boolean; private prefNeedsReload; private loaded; private t; /** * Sets if the component works as hidden element controller instead as UI element, visible on the DOM */ controller?: boolean; handleControllerChange(newValue?: boolean): void; /** * Tells the panel that the application follows `` on its own, translating its * content as the language changes, so a change of language needs no reload and shows no notice */ readonly liveLanguage?: boolean; private needsReload; private sizeChildren; handleSizeChange(newValue?: TabSizeType): void; private applySize; componentWillLoad(): void; connectedCallback(): void; componentDidLoad(): void; disconnectedCallback(): void; handlePrefChange(e: CustomEvent): void; render(): any; }