import { EventEmitter } from '../../stencil-public-runtime'; import { MdsPrefChangeEventDetail } from "../../event-detail/preference"; import { ConsumptionModeType } from "../../type/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?: ConsumptionModeType; /** * Emits when the component is triggered */ prefChangeEvent: EventEmitter; private readonly consumption; private readonly isMode; private readonly warnInvalidMode; componentWillLoad(): void; connectedCallback(): void; disconnectedCallback(): void; /** * Follows a consumption applied elsewhere (another instance, or a writer of the * `` classes) without applying it again: no event, no storage write. */ private readonly syncConsumption; /** * Applies a consumption 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 setConsumption; modeChanged(newValue: ConsumptionModeType): void; private readonly handleModeClick; render(): any; }