import { ComponentType as mComponentType, ICustomElement, PropsDefinitionInput } from 'component-register'; export type ComponentType = mComponentType; type CorrectComponentOptions = { element: HTMLElement & ICustomElement; }; export type CorrectComponentType = (props: T, options: CorrectComponentOptions) => unknown; declare function customElement(tag: string, ComponentType: ComponentType): (ComponentType: ComponentType) => any; declare function customElement(tag: string, props: PropsDefinitionInput, ComponentType: ComponentType): (ComponentType: ComponentType) => any; declare function customShadowlessElement(tagName: string, props: T, Component?: ComponentType, ...rest: ((C: ComponentType) => ComponentType)[]): import('component-register/types/utils').ComponentType; declare const correctElementType: (component: CorrectComponentType) => ComponentType; export { customElement, customShadowlessElement, correctElementType };