import { Component, DefineComponent } from 'vue'; export type MlIconType = (() => DefineComponent) | Component; /** * Data to descibe toggle button */ export interface MlToggleButtonData { /** * Icon used when button is 'on' */ onIcon: MlIconType; /** * Icon used when button is 'off'. */ offIcon: MlIconType; /** * Tooltip when button is 'on' */ onTooltip: string; /** * Tooltip when button is 'off' */ offTooltip: string; /** * Icon color when button is 'on' */ onColor?: string; /** * Icon color when button is 'off' */ offColor?: string; } /** * Properties of MlToggleButton component */ interface Props { /** * Button size */ size?: number | string; /** * Data to descibe toggle button */ data: MlToggleButtonData; } type __VLS_Props = Props; declare const __VLS_defaults: { modelValue: boolean; }; type __VLS_PublicProps = { modelValue?: typeof __VLS_defaults['modelValue']; } & __VLS_Props; declare const _default: DefineComponent, { size: number; }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { click: (state: boolean) => void; "update:modelValue": (value: boolean) => void; }, string, import('vue').PublicProps, Readonly, { size: number; }>>> & Readonly<{ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; onClick?: ((state: boolean) => any) | undefined; }>, { size: number | string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; export default _default; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_PrettifyLocal : P[K]; }; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToOption = { [K in keyof T]-?: {} extends Pick ? { type: import('vue').PropType<__VLS_NonUndefinedable>; } : { type: import('vue').PropType; required: true; }; }; type __VLS_PrettifyLocal = { [K in keyof T]: T[K]; } & {}; //# sourceMappingURL=MlToggleButton.vue.d.ts.map