import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "yandex.cloud.iam.v1"; /** A Key resource. For more information, see [Authorized keys](/docs/iam/concepts/authorization/key). */ export interface Key { /** ID of the Key resource. */ id: string; /** ID of the user account that the Key resource belongs to. */ userAccountId: string | undefined; /** ID of the service account that the Key resource belongs to. */ serviceAccountId: string | undefined; /** Creation timestamp. */ createdAt?: Date; /** Description of the Key resource. 0-256 characters long. */ description: string; /** An algorithm used to generate a key pair of the Key resource. */ keyAlgorithm: Key_Algorithm; /** A public key of the Key resource. */ publicKey: string; /** Timestamp for the last use of this key. */ lastUsedAt?: Date; } export declare enum Key_Algorithm { ALGORITHM_UNSPECIFIED = 0, /** RSA_2048 - RSA with a 2048-bit key size. Default value. */ RSA_2048 = 1, /** RSA_4096 - RSA with a 4096-bit key size. */ RSA_4096 = 2, UNRECOGNIZED = -1 } export declare function key_AlgorithmFromJSON(object: any): Key_Algorithm; export declare function key_AlgorithmToJSON(object: Key_Algorithm): string; export declare const Key: { encode(message: Key, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Key; fromJSON(object: any): Key; toJSON(message: Key): unknown; fromPartial, never>>(object: I): Key; }; 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 {};