import { type Component, type Inferno, type InfernoNode, type Key, type Ref, type RefObject, type Refs, type VNode } from 'inferno'; export interface CreateElementProps { children?: InfernoNode; key?: Key; ref?: Ref | RefObject | null; } export interface CreateFunctionElementProps

extends Omit, 'ref'>, Refs

{ ref?: Ref | RefObject | Refs

| null; } export declare function createElement(type: string, props?: (P & CreateElementProps) | null, ...children: any[]): VNode; export declare function createElement

(type: Inferno.StatelessComponent

>, props?: (P & CreateFunctionElementProps

) | null, ...children: any[]): VNode; export declare function createElement

(type: Inferno.ComponentClass

| typeof Component, props?: (P & CreateElementProps) | null, ...children: any[]): VNode;