import type { IfExtends } from "hry-types/src/Any/IfExtends"; import type { CustomComponentDefinition, CustomComponentDefinitionRuntime } from "../CustomComponent/returnType"; import type { RootComponentDefinition, RootComponentDefinitionRuntime } from "../RootComponent/returnType"; import type { NameOrPathOption } from "./NameOrPath/NameOrPathOption"; import type { GenerateComponentDoc } from "./returnType/GenerateComponentDoc"; import type { GeneratePageDoc } from "./returnType/GeneratePageDoc"; import type { RootComponentOption } from "./RootComponent/RootComponentOption"; import type { SubComponentsOption } from "./SubComponents/SubComponentsOption"; export type Path = `/${string}`; type Options = NameOrPathOption> & RootComponentOption & SubComponentsOption; type Constructor = (options: Options) => IfExtends<"", TName, GeneratePageDoc, GenerateComponentDoc>; export type DefineComponentOptionRuntime = { name?: string; path?: string; rootComponent?: RootComponentDefinitionRuntime; subComponents?: CustomComponentDefinitionRuntime[]; }; export declare const DefineComponent: Constructor; export {};