import React, { ReactNode } from "react"; //#region src/components/editor/ToolbarContext.d.ts declare const blockTypeToBlockName: { bullet: string; check: string; code: string; h1: string; h2: string; h3: string; h4: string; h5: string; h6: string; number: string; paragraph: string; quote: string; }; type BlockType = "check" | "code" | keyof typeof blockTypeToBlockName; interface ToolbarState { blockType: BlockType; isBold: boolean; isClear: boolean; isItalic: boolean; isStrikethrough: boolean; isSubscript: boolean; isSuperscript: boolean; isUnderline: boolean; } type ToolbarStateKey = keyof ToolbarState; type ToolbarStateValue = ToolbarState[Key]; interface ContextShape { toolbarState: ToolbarState; updateToolbarState: (key: Key, value: ToolbarStateValue) => void; } declare const ToolbarProvider: ({ children }: { children: ReactNode; }) => React.JSX.Element; declare const useToolbarState: () => ContextShape; //#endregion export { BlockType, ToolbarProvider, ToolbarState, ToolbarStateKey, ToolbarStateValue, blockTypeToBlockName, useToolbarState }; //# sourceMappingURL=ToolbarContext.d.ts.map