import { ComponentFactory } from 'preact'; type ComponentFunction

= () => ComponentResult

; type ComponentResult

= ComponentFactory

| ComponentAsync

; type ComponentAsync

= Promise> | Promise<{ [index: string]: ComponentFactory

; }>; interface IOptions { attributes?: string[]; formatProps?:

(props: P) => P; wrapComponent?:

(child: ComponentFactory

) => ComponentFactory

; } export { IOptions, ComponentFunction, ComponentResult, ComponentAsync };