import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "yandex.cloud.vpc.v1"; /** A Gateway resource. For more information, see [Gateway](/docs/vpc/concepts/gateways). */ export interface Gateway { /** ID of the gateway. Generated at creation time. */ id: string; /** ID of the folder that the gateway belongs to. */ folderId: string; /** Creation timestamp. */ createdAt?: Date; /** * Name of the gateway. * The name is unique within the folder. * Value must match the regular expression ``\|[a-z]([-a-z0-9]{0,61}[a-z0-9])?``. */ name: string; /** Description of the gateway. 0-256 characters long. */ description: string; /** * Gateway labels as `key:value` pairs. * No more than 64 per resource. * The maximum string length in characters for each value is 63. * Each value must match the regular expression `[-_./\\@0-9a-z]*`. * The string length in characters for each key must be 1-63. * Each key must match the regular expression `[a-z][-_./\\@0-9a-z]*`. */ labels: { [key: string]: string; }; sharedEgressGateway?: SharedEgressGateway | undefined; } export interface Gateway_LabelsEntry { key: string; value: string; } /** Shared Egress Gateway configuration */ export interface SharedEgressGateway { } export declare const Gateway: { encode(message: Gateway, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Gateway; fromJSON(object: any): Gateway; toJSON(message: Gateway): unknown; fromPartial, never>) | undefined; sharedEgressGateway?: ({} & {} & Record, never>) | undefined; } & Record, never>>(object: I): Gateway; }; export declare const Gateway_LabelsEntry: { encode(message: Gateway_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Gateway_LabelsEntry; fromJSON(object: any): Gateway_LabelsEntry; toJSON(message: Gateway_LabelsEntry): unknown; fromPartial, never>>(object: I): Gateway_LabelsEntry; }; export declare const SharedEgressGateway: { encode(_: SharedEgressGateway, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SharedEgressGateway; fromJSON(_: any): SharedEgressGateway; toJSON(_: SharedEgressGateway): unknown; fromPartial, never>>(_: I): SharedEgressGateway; }; 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 {};