/** * An ES Module */ export type EsModule = { [key: string]: any; __esModule?: boolean; default: T; }; /** * An object that may or may not be an ES Module */ export type MaybeEsModule = EsModule | T; /** * If an input object is an ES module, returns object.default, otherwise returns the object as is. * @param object Input object */ export declare function getDefiniteModule(object: MaybeEsModule): T; /** * Checks if an object is an ES module. * @param object Input object */ export declare function isEsModule(object: any): object is EsModule;