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;
    /**
     * 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<I extends {
        id?: string | undefined;
        serviceAccountId?: string | undefined;
        createdAt?: Date | undefined;
        description?: string | undefined;
        lastUsedAt?: Date | undefined;
        scope?: string | undefined;
        scopes?: string[] | undefined;
        expiresAt?: Date | undefined;
    } & {
        id?: string | undefined;
        serviceAccountId?: string | undefined;
        createdAt?: Date | undefined;
        description?: string | undefined;
        lastUsedAt?: Date | undefined;
        scope?: string | undefined;
        scopes?: (string[] & string[] & Record<Exclude<keyof I["scopes"], keyof string[]>, never>) | undefined;
        expiresAt?: Date | undefined;
    } & Record<Exclude<keyof I, keyof ApiKey>, never>>(object: I): ApiKey;
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
    [K in keyof T]?: DeepPartial<T[K]>;
} : Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
    [K in keyof P]: Exact<P[K], I[K]>;
} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
export {};
