export function isPromise(x: any): boolean;