import { EventEmitter } from '../../stencil-public-runtime'; import { MdsPrefChangeEventDetail } from "../../event-detail/preference"; import { AnimationModeType } from './meta/types'; import { TabSizeType } from "../../type/button"; /** * @category preferences */ export declare class MdsPrefAnimation { 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?: AnimationModeType; /** * Emits when the component is triggered */ prefChangeEvent: EventEmitter; private readonly animation; private readonly isMode; private readonly warnInvalidMode; componentWillLoad(): void; connectedCallback(): void; disconnectedCallback(): void; /** * Follows an animation applied elsewhere (another instance, or a writer of the * `` classes) without applying it again: no event, no storage write. */ private readonly syncAnimation; /** * Applies a animation 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 setAnimation; modeChanged(newValue: AnimationModeType): void; private readonly handleModeClick; render(): any; }