/**
 * Get the type of a schema item by its name.
 * @param name The name of the schema item.
 * @param schema The PM schema to search in.
 * @returns The type of the schema item (`node` or `mark`), or null if it doesn't exist.
 */
export function getSchemaTypeNameByName(name: any, schema: any): "node" | "mark";
