import { type HistoryState } from "@lexical/history"; import type { LexicalEditor } from "lexical"; export declare const setupHistory: (editor: LexicalEditor, externalHistoryState: () => HistoryState | undefined, delay?: number) => void;