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<import("@makeswift/controls").unstable_TypographyDefinition, ({
        style: {
            value: {
                fontFamily?: string | null | undefined;
                lineHeight?: number | null | undefined;
                letterSpacing?: number | null | undefined;
                fontWeight?: number | null | undefined;
                textAlign?: string | null | undefined;
                uppercase?: boolean | null | undefined;
                underline?: boolean | null | undefined;
                strikethrough?: boolean | null | undefined;
                italic?: boolean | null | undefined;
                fontSize?: {
                    value: number | null;
                    unit: string | null;
                } | null | undefined;
                color?: {
                    swatchId: string | null;
                    alpha: number | null;
                } | null | undefined;
            };
            deviceId: string;
        }[];
        id?: string | undefined;
    } | undefined)[]> | 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