import { EnvInfoInterface } from '../api/cloud/EnvInfoApi'; import { State } from '../shared/State'; export type Info = { /** * Get info about the platform instance * @returns {Promise} a promise that resolves to a json blob with information about the instance and tokens */ getInfo(): Promise; }; declare const _default: (state: State) => Info; export default _default; export interface PlatformInfoInterface { host: string; authenticatedSubject: string; amVersion: string; cookieName: string; sessionToken: string; bearerToken?: string; deploymentType: string; } export type PlatformInfo = PlatformInfoInterface & Partial; /** * Get info about the platform instance * @param {State} state library state * @returns {Promise} a promise that resolves to a json blob with information about the instance and tokens */ export declare function getInfo(state: State): Promise; //# sourceMappingURL=InfoOps.d.ts.map