import type { EventName, Options } from '@lit/react'; import type React from 'react'; type EventNames = Record; type StencilProps = Omit, keyof E> & Partial<{ [K in keyof E]: E[K] extends EventName ? (event: T) => void : (event: Event) => void; }> & Required> & Partial> & React.RefAttributes; /** React component type emitted by Stencil's React output target. */ export type StencilReactComponent, C = Omit, R extends keyof C = never> = React.FunctionComponent>; /** * Defines a Stencil custom element and adapts it to React through Lit's * custom-element bridge. Component rendering remains owned by Stencil. */ export declare function createComponent, C = Omit, R extends keyof C = never>({ defineCustomElement, tagName, transformTag, ...options }: Options & { defineCustomElement: () => void; transformTag?: (tagName: string) => string; }): StencilReactComponent; export {};