import { IEventDetail, IEventEmitter } from '@breadstone/mosaik-elements'; import type { CustomElement } from '../Components/Abstracts/CustomElement'; import type { ControlBehaviorBase, ControlBehaviorReturn } from './Abstracts/Behavior'; import type { IDisableableProps } from './Disableable'; /** * Represents the events of the `Checkable` mixin. * * @public */ export interface ICheckableEvents { checked: IEventEmitter; unchecked: IEventEmitter; } /** * Represents the `ICheckableProps` interface. * * @public */ export interface ICheckableProps { isChecked: boolean; } /** * Represents the `ICheckable` interface. * * @public */ export interface ICheckable { check(): void; uncheck(): void; toggle(): void; } /** * @public */ export declare namespace ICheckableProps { const DEFAULTS: ICheckableProps; } /** * @fires checked {CheckedEvent} - Fired when the `isChecked` property is `true`. * @fires unchecked {UncheckedEvent} - Fired when the `isChecked` property is `false`. * * @public */ export declare const Checkable: >(base: T) => ControlBehaviorReturn; //# sourceMappingURL=Checkable.d.ts.map