export type Timeout = (time: number, message?: string) => Promise;