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>; } export interface InjectionResult

{ id: string; shadowHost: HTMLElement; shadowRoot: ShadowRoot; mountedInto: HTMLDivElement; stylesWrapper: HTMLDivElement; updateProps: (newProps: Partial

) => Promise; unmount: () => Promise; mirrorStylesInto: (node: HTMLElement) => void; connectPortal: (portal: ShadowPortal) => void; } export interface RenderResult

{ updateProps: InjectionResult

['updateProps']; unmount: InjectionResult

['unmount']; } type InjectComponentInternalProps = { connectedPortals: ShadowPortal[]; }; export declare const injectComponent:

(injectable: InjectableComponent

, props: P, options?: InjectOptions

) => Promise>; export declare const createShadowPortal: () => ShadowPortal; export {};