import { BaseEditor, Editor } from 'slate'; import { clearActiveTypographyStyle } from './clearActiveTypographyStyle'; import { clearDeviceActiveTypography } from './clearDeviceActiveTypography'; import { detachActiveTypography } from './detachActiveTypography'; import { setActiveTypographyId } from './setActiveTypographyId'; import { setActiveTypographyStyle } from './setActiveTypographyStyle'; export declare const TypographyActions: { setActiveTypographyId: typeof setActiveTypographyId; setActiveTypographyStyle: typeof setActiveTypographyStyle; clearActiveTypographyStyle: typeof clearActiveTypographyStyle; clearDeviceActiveTypography: typeof clearDeviceActiveTypography; detachActiveTypography: typeof detachActiveTypography; }; export declare const TYPOGRAPHY_KEY = "typography"; export interface TypographyEditor extends BaseEditor { typographyNormalizationDirection?: 'up' | 'neutral' | 'down'; } export declare function withTypography(editor: Editor): import("..").MakeswiftEditor; export declare function TypographyPlugin(): { control: import("@makeswift/controls").RichTextPluginControl | undefined; withPlugin: ((editor: Editor) => Editor) | undefined; onKeyDown: ((event: import("react").KeyboardEvent, editor: Editor) => void) | undefined; renderElement: ((renderElement: import("../../controls/rich-text-v2/plugin").RenderElement, value: any) => (props: import("slate-react").RenderElementProps) => import("react").ReactNode) | undefined; renderLeaf: ((renderLeaf: import("../../controls/rich-text-v2/plugin").RenderLeaf, value: any) => (props: import("slate-react").RenderLeafProps) => import("react").ReactNode) | undefined; }; //# sourceMappingURL=index.d.ts.map