import { EventEmitter } from '../../stencil-public-runtime'; import { ContrastModeType } from './meta/types'; import { MdsPrefChangeEventDetail } from "../../event-detail/preference"; import { TabSizeType } from "../../type/button"; /** * @category preferences */ export declare class MdsPrefContrast { private readonly localStorageAlias; private readonly customPropertyAlias; private readonly defaultMode; private syncingFromStore; private appliedMode?; private unsubscribeStore?; private readonly t; /** * Sets the size of the component items nested inside it */ readonly size?: TabSizeType; /** * Specifies the preference mode */ mode?: ContrastModeType; /** * Emits when the component is triggered */ prefChangeEvent: EventEmitter; private readonly contrast; private readonly isMode; private readonly warnInvalidMode; componentWillLoad(): void; connectedCallback(): void; disconnectedCallback(): void; /** * Follows a contrast applied elsewhere (another instance, or a writer of the * `` classes) without applying it again: no event, no storage write. */ private readonly syncContrast; /** * Applies a contrast once per change, and announces it once applied: the `mode` watcher * calls this again for the value it has just been given, which used to emit a second * mdsPrefChange, and the first application, the one of load, is no change to announce. */ private readonly setContrast; modeChanged(newValue: ContrastModeType, oldValue: ContrastModeType): void; private readonly handleModeClick; render(): any; }