import { ReactNode } from "react"; import { BaseNode, NodeClass } from "./node.js"; import React from "react"; import { PropertyAPI } from "./properties/index.js"; import { YogaProperties } from "@coconut-xr/flex"; export type UseComponent = (node: T, properties: P, children: C | undefined) => ReactNode | undefined; export declare function buildComponent(nodeClass: NodeClass, useComponent: UseComponent, api: A): React.ForwardRefExoticComponent ? undefined extends import("./properties/index.js").GetPropertyAPISetValue ? Key : never : never]?: import("./properties/index.js").GetPropertyAPISetValue | undefined; } & { [Key_1 in keyof A as P extends import("./properties/index.js").GetPropertyAPISetTarget ? undefined extends import("./properties/index.js").GetPropertyAPISetValue ? never : Key_1 : never]: import("./properties/index.js").GetPropertyAPISetValue; } & { index?: number | undefined; id?: string | undefined; children?: C | undefined; classes?: Partial

? undefined extends import("./properties/index.js").GetPropertyAPISetValue ? Key : never : never]?: import("./properties/index.js").GetPropertyAPISetValue | undefined; } & { [Key_1 in keyof A as P extends import("./properties/index.js").GetPropertyAPISetTarget ? undefined extends import("./properties/index.js").GetPropertyAPISetValue ? never : Key_1 : never]: import("./properties/index.js").GetPropertyAPISetValue; }>[] | undefined; ref?: React.MutableRefObject | undefined; }> & React.RefAttributes>;