export type Children = VNode | string | number | null; interface VNode { nodeName: string; attributes?: Attributes; children: Array; key: string; } type Component = (attributes: Attributes, children: Array) => VNode; type Keys = string; type createNode = (nodeName: Component | string, attributes?: Attributes | null, ...children: Array) => VNode; type StyleProps = (props: any) => Styles; interface Styles { [key: string]: any; } export const keyframes: (obj: StyleProps) => string; export default function picostyle(vdom: createNode): (element: string | Component) => (styles: Styles | StyleProps) => (...children: any[]) => VNode | string | number | null;