import { StructureSchema } from '@ephox/boulder'; import type { Optional, Result } from '@ephox/katamari'; export interface ButtonSpec { type: 'button'; text: string; enabled?: boolean; /** @deprecated use `buttonType: "primary"` instead */ primary?: boolean; name?: string; icon?: string; borderless?: boolean; buttonType?: 'primary' | 'secondary' | 'toolbar'; context?: string; } export interface Button { type: 'button'; text: string; enabled: boolean; /** @deprecated use `buttonType: "primary"` instead */ primary: boolean; name: string; icon: Optional; borderless: boolean; buttonType: Optional<'primary' | 'secondary' | 'toolbar'>; context: string; } export declare const buttonSchema: import("@ephox/boulder").StructureProcessor; export declare const createButton: (spec: ButtonSpec) => Result>; //# sourceMappingURL=Button.d.ts.map