import { EventName, Options } from '@lit/react'; import { default as React } from 'react'; type EventNames = Record; type StencilProps = Omit, keyof E> & Partial<{ [K in keyof E]: E[K] extends EventName ? (event: T) => void : (event: any) => void; }> & Required> & Partial> & React.RefAttributes; export type StencilReactComponent, R extends keyof C = never> = React.FunctionComponent>; /** * Merge the app's `className`/`class` with the classes the Stencil runtime * manages on the host. `@lit/react` maps `className` to `class` and rewrites it * wholesale on every render, which wipes runtime-added classes like `hydrated`, * `sc-*` scope classes, and state classes a design system relies on. */ export declare const mergeClassNames: (currentClasses: Iterable, newClassName: string | undefined, oldClassName: string | undefined) => string; /** * Defines a custom element and creates a React component. * @public */ export declare const createComponent: , R extends keyof C = never>({ defineCustomElement, tagName, transformTag, ...options }: Options & { defineCustomElement: () => void; transformTag?: (tagName: string) => string; }) => StencilReactComponent; export {};