import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "yandex.cloud.serverless.apigateway.websocket.v1"; export interface Connection { /** ID of the connection. */ id: string; /** ID of the API Gateway. */ gatewayId: string; /** The information about the caller making the request to API Gateway. */ identity?: Identity; /** The timestamp at which connection was established. */ connectedAt?: Date; /** The timestamp at which connection was last accessed. */ lastActiveAt?: Date; } export interface Identity { /** The source IP address of the caller making the request to API Gateway. */ sourceIp: string; /** The User Agent of the caller making the request to API Gateway. */ userAgent: string; } export declare const Connection: { encode(message: Connection, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Connection; fromJSON(object: any): Connection; toJSON(message: Connection): unknown; fromPartial, never>) | undefined; connectedAt?: Date | undefined; lastActiveAt?: Date | undefined; } & Record, never>>(object: I): Connection; }; export declare const Identity: { encode(message: Identity, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Identity; fromJSON(object: any): Identity; toJSON(message: Identity): unknown; fromPartial, never>>(object: I): Identity; }; 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 {};