I think it would be something like this? ```ts type element = object; type transformFn = (node: any) => element; export function sv(transform: transformFn, options: object): h; type h = (tagname> string, props: Prop, children: element[] ) => element; ```
I think it would be something like this?