import type { DefaultNodeTypes, TypedEditorState } from '@payloadcms/richtext-lexical'; import type { SerializedEditorState } from '@payloadcms/richtext-lexical/lexical'; interface UseHtmlLexicalAdapterProps { html: string; onChange: (html: string) => void; } export declare function useHtmlLexicalAdapter({ html, onChange, }: UseHtmlLexicalAdapterProps): { value: TypedEditorState; setValue: (serializedState: SerializedEditorState) => void; }; export {}; //# sourceMappingURL=useHtmlLexicalAdapter.d.ts.map