import Joi from 'joi'; import Comms from './comms'; import Routes, * as IndividualRoutes from './routes'; import * as models from './models'; import * as routes from './routes/routes'; import * as commons from './commons'; import { Response as MachineLoginResponse } from './routes/authentication/machine-login'; declare const apiVersion = 8; declare class PlatformSdk { protected comms: Comms; routes: Routes; constructor(baseURL?: string, initRoutes?: boolean); machineLogin(assertion: string): Promise; get environment(): { type: string; hashId: string; } | undefined; changeEnvironment(environmentHashId?: string, type?: string): void; resumeSession(jwt: string, environmentHashId?: string, type?: string): void; logout(): void; get headers(): Record; static get apiVersion(): number; } export default PlatformSdk; export { ControllerGeneratorOptions, ControllerGeneratorOptionsWithoutClientOrSupplier, ControllerGeneratorOptionsWithClient, ControllerGeneratorOptionsWithSupplier, ControllerGeneratorOptionsWithClientAndSupplier, } from './comms/controller'; export { default as TableController, TableQuery, EffectiveTableQuery } from './comms/table-controller'; export { default as Comms } from './comms'; export { default as controllerGenerator, Result } from './comms/controller'; export { default as errors } from './errors'; export { routes, models, commons, Routes, IndividualRoutes, Joi, apiVersion, };