/** * An object that may or may not be a Promise */ export type MaybePromise = T | Promise; /** * Take an input obect. If the input is a promise, returns as is. * Other wise creates a promise that resolves the input. * @param object Input object */ export declare function getDefinitePromise(object: MaybePromise): Promise; /** * Checks if an object is a Promise * @param object Input object */ export declare function isPromise(object: any): object is Promise;