import { StructureSchema } from '@ephox/boulder'; import type { Optional, Result } from '@ephox/katamari'; import { type CommonMenuItem, type CommonMenuItemInstanceApi, type CommonMenuItemSpec } from './CommonMenuItem'; export interface ChoiceMenuItemSpec extends CommonMenuItemSpec { type?: 'choiceitem'; icon?: string; label?: string; } export interface ChoiceMenuItemInstanceApi extends CommonMenuItemInstanceApi { isActive: () => boolean; setActive: (state: boolean) => void; } export interface ChoiceMenuItem extends CommonMenuItem { type: 'choiceitem'; active: boolean; icon: Optional; label: Optional; } export declare const choiceMenuItemSchema: import("@ephox/boulder").StructureProcessor; export declare const createChoiceMenuItem: (spec: ChoiceMenuItemSpec) => Result>; //# sourceMappingURL=ChoiceMenuItem.d.ts.map