import { CssLength } from '@breadstone/mosaik-themes'; import type { CustomElement } from '../Components/Abstracts/CustomElement'; import { Placement } from '../Types/Placement'; import { Strategy } from '../Types/Strategy'; import type { ControlBehaviorBase, ControlBehaviorReturn } from './Abstracts/Behavior'; import type { IDisableableProps } from './Disableable'; export interface IDropDownable { /** * Opens the drop down. */ open(): void; /** * Closes the drop down. */ close(): void; /** * Toggles the drop down. */ toggle(): void; } /** * Represents the `IDropDownable` interface. * * @public */ export interface IDropDownableProps { dropDownPlacement: Placement; dropDownStrategy: Strategy; dropDownDistance: number; dropDownSkidding: number; dropDownStaysOpen: boolean; dropDownMaxHeight: CssLength; dropDownHeight?: CssLength; dropDownMaxWidth?: CssLength; dropDownWidth?: CssLength; isDropDownOpen: boolean; } /** * @public */ export declare namespace IDropDownableProps { const DEFAULTS: IDropDownableProps; } /** * @public */ export declare const DropDownable: >(base: T) => ControlBehaviorReturn; //# sourceMappingURL=DropDownable.d.ts.map