import { default as ReactQuill, DeltaStatic, EmitterSource } from 'react-quill-new';
import { UseAEditorValueSyncParams } from '../core/types';
export declare function useAEditorValueSync({ canSetValue, deferredSyncMs, editorRef, hasExternalValue, initialRuntimeSnapshot, maxLength, setValue, shouldMaintainLocalDelta, shouldTrackLimit, value, valueSyncMode, }: UseAEditorValueSyncParams): {
    calculatedSize: number;
    clearScheduledValueSync: () => void;
    commitPendingValueSync: (pendingSync?: {
        html: string;
        prepared: boolean;
    } | null) => void;
    handleChange: (html: string, changeDelta: DeltaStatic, source: EmitterSource, editor: ReactQuill.UnprivilegedEditor) => void;
    htmlDeltaRef: import('react').RefObject<DeltaStatic>;
    syncEditorDeltaState: (nextDelta: DeltaStatic, nextCalculatedSize?: number) => void;
};
