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