import { InjectableComponent } from './wrapper.js'; import { ComponentType, ShadowPortal } from './types.js'; interface InjectOptions
{ shadowHost?: HTMLElement; includeCssReset?: boolean; useClosedShadow?: boolean; mountStrategy?: (Component: ComponentType
, props: P & InjectComponentInternalProps, mountInto: HTMLDivElement) => Promise {
id: string;
shadowHost: HTMLElement;
shadowRoot: ShadowRoot;
mountedInto: HTMLDivElement;
stylesWrapper: HTMLDivElement;
updateProps: (newProps: Partial ) => Promise {
updateProps: InjectionResult ['updateProps'];
unmount: InjectionResult ['unmount'];
}
type InjectComponentInternalProps = {
connectedPortals: ShadowPortal[];
};
export declare const injectComponent: (injectable: InjectableComponent , props: P, options?: InjectOptions ) => Promise