import type { NodeType, Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
export declare function getBaseNodeTypeName(nodeType: NodeType): string;
/**
 * Returns true if two node types share the same base type name.
 *
 * Useful for comparing nodes that may exist as schema variants
 * (e.g. `panel` and `panel_c1` are considered the same base type).
 */
export declare function isNodeOfSameBaseType(a: NodeType, b: NodeType): boolean;
/**
 * Checks if a node type is a valid child of a parent node by creating a minimal valid
 * instance and validating it against the parent's content expression. Unlike ProseMirror's
 * canReplaceWith, this checks general type compatibility without requiring a specific insertion index.
 */
export declare function isNodeTypeValidChildOf(childTypeName: string, parentNode: PMNode, schema: Schema): boolean;
