export type Resolve = (value: T | PromiseLike) => void; export type Reject = (reason?: unknown) => void; export type Cancel = () => void; export type PromiseExecutor = (resolve: Resolve, reject: Reject, cancel: Cancel) => void; export type Logger = (text: string) => void;