import type { JSONSchema7 } from 'json-schema';
export interface LexicalNodeSchema extends JSONSchema7 {
    additionalProperties?: boolean;
    properties: {
        [key: string]: any;
        children?: {
            items: {
                $ref?: string;
                anyOf?: {
                    $ref: string;
                }[];
            };
            type: 'array';
        };
        type?: {
            enum: string[];
            type: 'string';
        };
    };
    required?: string[];
    type: 'object';
}
export declare const documentSchema: LexicalNodeSchema;
export declare const lexicalJsonSchema: (customNodes?: any[]) => LexicalNodeSchema;
