import type { LexicalEditor } from 'lexical';
type SetSafeLexicalStateOptions = {
    logErrors?: boolean;
};
export declare const normalizeLexicalState: (state: unknown) => {
    root: {
        type: string;
        children: any[];
        direction: {} | null;
        format: string;
        indent: number;
        version: number;
    };
} | null;
export declare const setSafeLexicalState: (state: unknown, editorInstance?: LexicalEditor | null, options?: SetSafeLexicalStateOptions) => boolean;
export {};
