/** * useStepFontSize - Step font size by delta px, clamped to [8, 96]. * Mixed-size selections step each text node independently. */ import { Editor } from 'slate'; import type { AbsRange } from './useFakeHighlight'; interface StepFontSizeArgs { editor: Editor; fakeHighlightAbsRef: React.MutableRefObject; lastSelectionRef: React.MutableRefObject; updateFakeHighlightAbs: (abs: AbsRange | null) => void; updateActiveStyles: () => void; registerStepFontSize: (fn: (delta: number) => void) => void; } export declare function useStepFontSize({ editor, fakeHighlightAbsRef, lastSelectionRef, updateFakeHighlightAbs, updateActiveStyles, registerStepFontSize, }: StepFontSizeArgs): (delta: number) => void; export {}; //# sourceMappingURL=useStepFontSize.d.ts.map