///
import { Properties as CSSProperties } from 'csstype';
type CSSPropertyNames = keyof CSSProperties;
export type Element = Function | {
children: Child[];
} | keyof HTMLElementTagNameMap | string;
export type Props = {
style?: {
[property in CSSPropertyNames]?: string | number;
};
[attribute: string]: any;
};
export type Child = string | boolean | number | null;
export type PropsWithChildren = T & {
children?: Child | Child[];
};
export declare function styleObjectToString(style: {
[property in CSSPropertyNames]: string | number;
}): string;
export declare function h(tag: Element, props: Props, ...children: Child[] | Child[][]): string;
export {};