import { HttpMethod } from '../JsonEndpoints'; import { FunctionEndpoint, JsonServerless } from './interfaces'; import { JsonSchedulesEntry } from '../JsonSchedules'; export * from './interfaces'; declare class JsonServices { services: { [key: string]: JsonServerless; }; get OFFLINE_SERVICE_NAME(): string; get SHARED_SERVICE_NAME(): string; get offlineService(): JsonServerless; get sharedService(): JsonServerless; get jsonPath(): string; read(): Promise; save(): Promise; addEndpoint(endpoint: { serviceName: string; safeFunctionName: string; functionPath: string; method: HttpMethod; authorizerId?: string; warmupEnabled?: boolean; }): Promise; getEndpoint(serviceName: string, safeFunctionName: string): Promise; updateEndpoint(serviceName: string, functionName: string, authorizerId: string, warmupEnabled: boolean): Promise; removeEndpoint(serviceName: string, safeFunctionName: string): Promise; private removeFunction; renameService(serviceName: string, newServiceName: any): Promise; changeEndpointService(serviceName: string, newServiceName: string, functionName: string): Promise; addService(serviceName: string): Promise; removeService(serviceName: string): Promise; createAuthorizerFunction(serviceName: string, authorizerId: string): Promise; createCustomAuthorizerForSharedService(authorizerId: string, identitySource?: string): Promise; private setFunctionToService; private setAuthorizerToFunction; addPlugin(serviceName: string, pluginName: string): Promise; removePlugin(serviceName: string, pluginName: string): Promise; setOrganization(org: string): void; setApp(app: string): void; setRegion(region: string): void; addScheduleEvent(event: JsonSchedulesEntry): Promise; changeScheduleService(serviceName: string, newServiceName: string, functionName: string): Promise; removeScheduleEvent(serviceName: string, safeFunctionName: string): Promise; updateSchedule(serviceName: string, functionName: string, description: string, rate: string, enabled: boolean): Promise; servicesHealthCheck(): void; } declare const _default: JsonServices; export default _default;