import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "yandex.cloud.iam.v1"; /** An ApiKey resource. For more information, see [Api-Key](/docs/iam/concepts/authorization/api-key). */ export interface ApiKey { /** ID of the API Key. */ id: string; /** ID of the service account that the API key belongs to. */ serviceAccountId: string; /** Creation timestamp. */ createdAt?: Date; /** Description of the API key. 0-256 characters long. */ description: string; /** Timestamp for the last authentication using this API key. */ lastUsedAt?: Date; /** * Draft * Scope of the API key. 0-256 characters long. * * @deprecated */ scope: string; /** Scopes of the API key. 0-256 characters long. */ scopes: string[]; /** API key expiration timestamp. */ expiresAt?: Date; } export declare const ApiKey: { encode(message: ApiKey, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ApiKey; fromJSON(object: any): ApiKey; toJSON(message: ApiKey): unknown; fromPartial, never>) | undefined; expiresAt?: Date | undefined; } & Record, never>>(object: I): ApiKey; }; 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 {};