import { ComponentType, VNode } from 'preact'; import { FC } from 'preact/compat'; import { Island } from './island'; export declare type InitialPropsWebComponent = { [x: string]: any; }; export declare const createIslandWebComponent:

(elementName: string, widget: ComponentType

) => { render: (args: Omit<{ selector?: string | undefined; clean?: boolean | undefined; replace?: boolean | undefined; inline?: boolean | undefined; initialProps?: Partial

| undefined; propsSelector?: string | undefined; elementName?: string | undefined; }, "replace" | "clean" | "inline">) => void; injectStyles: (style: string) => void; _rootsToObservers: WeakMap; _roots: any[]; _executedScript: HTMLOrSVGScriptElement | null; props: P; rerender: (props: P) => void; destroy: () => void; }; export declare const WebComponentPortal: FC<{ name: string; container?: Element; children: VNode<{}>; style?: string | HTMLStyleElement; }>;