import _m0 from 'protobufjs/minimal'; import { Resource } from '../../../../yandex/cloud/iam/v1/resource'; export declare const protobufPackage = "yandex.cloud.iam.v1"; /** A Service. */ export interface Service { /** ID of the service. */ serviceId: string; /** Resource that the service belongs to. */ resource?: Resource; /** Time of the last status update of the service. */ updatedAt?: Date; /** Current status of the service. */ status: Service_Status; } export declare enum Service_Status { STATUS_UNSPECIFIED = 0, /** ENABLED - The service is enabled. */ ENABLED = 1, /** PAUSED - The service is paused. */ PAUSED = 2, /** DISABLED - The service is disabled. */ DISABLED = 3, /** ENABLING - The service is being enabled. */ ENABLING = 4, /** RESUMING - The service is being resumed. */ RESUMING = 5, /** PAUSING - The service is being paused. */ PAUSING = 6, /** DISABLING - The service is being disabled. */ DISABLING = 7, /** ERROR - The service is in error state. */ ERROR = 8, /** DEFAULT - The service could be auto enabled. */ DEFAULT = 9, UNRECOGNIZED = -1 } export declare function service_StatusFromJSON(object: any): Service_Status; export declare function service_StatusToJSON(object: Service_Status): string; export interface ServiceAgent { /** ID of the agent service account. */ serviceAccountId: string; /** ID of the service. */ serviceId: string; /** ID of the microservice. */ microserviceId: string; } export declare const Service: { encode(message: Service, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Service; fromJSON(object: any): Service; toJSON(message: Service): unknown; fromPartial, never>) | undefined; updatedAt?: Date | undefined; status?: Service_Status | undefined; } & Record, never>>(object: I): Service; }; export declare const ServiceAgent: { encode(message: ServiceAgent, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ServiceAgent; fromJSON(object: any): ServiceAgent; toJSON(message: ServiceAgent): unknown; fromPartial, never>>(object: I): ServiceAgent; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & Record>, never>; export {};