// @generated by protoc-gen-es v1.9.0 with parameter "target=js+dts,import_extension=none" // @generated from file kas/kas.proto (package kas, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Value } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * Intentionally empty. May include features later. * * @generated from message kas.InfoRequest */ export declare class InfoRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "kas.InfoRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): InfoRequest; static fromJson(jsonValue: JsonValue, options?: Partial): InfoRequest; static fromJsonString(jsonString: string, options?: Partial): InfoRequest; static equals(a: InfoRequest | PlainMessage | undefined, b: InfoRequest | PlainMessage | undefined): boolean; } /** * Service application level metadata * * @generated from message kas.InfoResponse */ export declare class InfoResponse extends Message { /** * @generated from field: string version = 1; */ version: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "kas.InfoResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): InfoResponse; static fromJson(jsonValue: JsonValue, options?: Partial): InfoResponse; static fromJsonString(jsonString: string, options?: Partial): InfoResponse; static equals(a: InfoResponse | PlainMessage | undefined, b: InfoResponse | PlainMessage | undefined): boolean; } /** * @generated from message kas.LegacyPublicKeyRequest */ export declare class LegacyPublicKeyRequest extends Message { /** * @generated from field: string algorithm = 1; */ algorithm: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "kas.LegacyPublicKeyRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): LegacyPublicKeyRequest; static fromJson(jsonValue: JsonValue, options?: Partial): LegacyPublicKeyRequest; static fromJsonString(jsonString: string, options?: Partial): LegacyPublicKeyRequest; static equals(a: LegacyPublicKeyRequest | PlainMessage | undefined, b: LegacyPublicKeyRequest | PlainMessage | undefined): boolean; } /** * @generated from message kas.PublicKeyRequest */ export declare class PublicKeyRequest extends Message { /** * @generated from field: string algorithm = 1; */ algorithm: string; /** * @generated from field: string fmt = 2; */ fmt: string; /** * @generated from field: string v = 3; */ v: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "kas.PublicKeyRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublicKeyRequest; static fromJson(jsonValue: JsonValue, options?: Partial): PublicKeyRequest; static fromJsonString(jsonString: string, options?: Partial): PublicKeyRequest; static equals(a: PublicKeyRequest | PlainMessage | undefined, b: PublicKeyRequest | PlainMessage | undefined): boolean; } /** * @generated from message kas.PublicKeyResponse */ export declare class PublicKeyResponse extends Message { /** * @generated from field: string public_key = 1; */ publicKey: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "kas.PublicKeyResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublicKeyResponse; static fromJson(jsonValue: JsonValue, options?: Partial): PublicKeyResponse; static fromJsonString(jsonString: string, options?: Partial): PublicKeyResponse; static equals(a: PublicKeyResponse | PlainMessage | undefined, b: PublicKeyResponse | PlainMessage | undefined): boolean; } /** * @generated from message kas.RewrapRequest */ export declare class RewrapRequest extends Message { /** * @generated from field: string signed_request_token = 1; */ signedRequestToken: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "kas.RewrapRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RewrapRequest; static fromJson(jsonValue: JsonValue, options?: Partial): RewrapRequest; static fromJsonString(jsonString: string, options?: Partial): RewrapRequest; static equals(a: RewrapRequest | PlainMessage | undefined, b: RewrapRequest | PlainMessage | undefined): boolean; } /** * @generated from message kas.RewrapResponse */ export declare class RewrapResponse extends Message { /** * @generated from field: map metadata = 1; */ metadata: { [key: string]: Value }; /** * @generated from field: bytes entity_wrapped_key = 2; */ entityWrappedKey: Uint8Array; /** * @generated from field: string session_public_key = 3; */ sessionPublicKey: string; /** * @generated from field: string schema_version = 4; */ schemaVersion: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "kas.RewrapResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RewrapResponse; static fromJson(jsonValue: JsonValue, options?: Partial): RewrapResponse; static fromJsonString(jsonString: string, options?: Partial): RewrapResponse; static equals(a: RewrapResponse | PlainMessage | undefined, b: RewrapResponse | PlainMessage | undefined): boolean; }