import { StructureSchema } from '@ephox/boulder'; import { type Optional, type Result } from '@ephox/katamari'; export interface SidebarInstanceApi { element: () => HTMLElement; } export interface SidebarSpec { icon?: string; tooltip?: string; onShow?: (api: SidebarInstanceApi) => void; onSetup?: (api: SidebarInstanceApi) => (api: SidebarInstanceApi) => void; onHide?: (api: SidebarInstanceApi) => void; } export interface Sidebar { icon: Optional; tooltip: Optional; onShow: (api: SidebarInstanceApi) => void; onSetup: (api: SidebarInstanceApi) => (api: SidebarInstanceApi) => void; onHide: (api: SidebarInstanceApi) => void; } export declare const sidebarSchema: import("@ephox/boulder").StructureProcessor; export declare const createSidebar: (spec: SidebarSpec) => Result>; //# sourceMappingURL=Sidebar.d.ts.map