import type { HistoryState } from '@lexical/history'; import type { LexicalEditor } from 'lexical'; import type { MaybeRef } from '../utils'; export declare function useHistory(editor: MaybeRef, externalHistoryState?: MaybeRef, delay?: MaybeRef): void;