import { ICancelEventDetail, IEventEmitter } from '@breadstone/mosaik-elements'; import type { CustomElement } from '../Components/Abstracts/CustomElement'; import type { ControlBehaviorBase, ControlBehaviorReturn } from './Abstracts/Behavior'; /** * @public */ export interface ICloseable { /** * Removes the element from the DOM. */ close(): Promise; } /** * Represents the events of the `Closeable` mixin. * * @public */ export interface ICloseableEvents { closed: IEventEmitter; } /** * Represents the `ICloseableElementProps` interface. * * @public */ export interface ICloseableProps { closeable: boolean; } /** * @public */ export declare namespace ICloseableProps { const DEFAULTS: ICloseableProps; } /** * @fires closed {ClosedEvent} - Fired when the `close` method is called. * * @public * */ export declare const Closeable: >(base: T) => ControlBehaviorReturn; //# sourceMappingURL=Closeable.d.ts.map