/** * Signature of generic user-provided functions. */ export type Fn = () => Promise | any;