export declare function isPromise(x: unknown): boolean;