import { ColorScheme, RendererConfig, RichEditorVariant } from '@haklex/rich-editor/static';
import { Klass, LexicalNode, SerializedEditorState } from 'lexical';
import { CSSProperties, ReactNode } from 'react';
export type BuiltinNodeRenderer = (node: any, key: string, children: ReactNode[] | null, defaultRenderer: () => ReactNode) => ReactNode;
export interface RichRendererProps {
    as?: keyof React.JSX.IntrinsicElements;
    builtinNodeOverrides?: Record<string, BuiltinNodeRenderer>;
    className?: string;
    extraNodes?: Array<Klass<LexicalNode>>;
    nested?: boolean;
    rendererConfig?: RendererConfig;
    style?: CSSProperties;
    theme?: ColorScheme;
    value: SerializedEditorState;
    variant?: RichEditorVariant;
}
//# sourceMappingURL=types.d.ts.map