import { Klass, LexicalNode, RootNode } from 'lexical';
export declare function $getAllNodesOfType<T extends LexicalNode>(nodeType: Klass<T>): T[];
export declare const $getTextContent: (root: RootNode) => string;
export declare const getTextFromSerializedEditorState: (state: string) => string;
export declare const emptyEditorState: {
    root: {
        direction: string;
        format: string;
        indent: number;
        type: string;
        version: number;
        children: {
            type: string;
            version: number;
            format: string;
            indent: number;
            textFormat: undefined;
            direction: null;
            children: never[];
        }[];
    };
};
export declare function generateEditorStateFromString(input?: string): any;
