import type * as Component from "./Component.js"


// export type NodeClass = {
//     [K in keyof typeof Godot]: typeof Godot[K] extends new (...args: any[]) => Godot.Node
//         ? K
//         : never
// }[keyof typeof Godot]

// export type GodotIntrinsicElements = {
//     [K in NodeClass as PascalToCamel<K>]: Component.Props<InstanceType<(typeof Godot)[K]>>
// } & {
//     element: {
//         class: new (...args: any[]) => Godot.Node
//     }
// }

declare global {
    namespace React {
        namespace JSX {
            // interface IntrinsicElements extends GodotIntrinsicElements {}
            interface IntrinsicAttributes extends Component.InstrinsicAttributes {}
        }
    }
}
