import _m0 from 'protobufjs/minimal';
import { ExpirationConfig } from '../../../../../../yandex/cloud/ai/common/common';
export declare const protobufPackage = "yandex.cloud.ai.assistants.v1.users";
export interface User {
    /** Unique identifier of the user. */
    id: string;
    /** ID of the folder that the user belongs to. */
    folderId: string;
    /** Name of the user. */
    name: string;
    /** Description of the user. */
    description: string;
    source: string;
    /** Identifier of the subject who created this user. */
    createdBy: string;
    /** Timestamp representing when the user was created. */
    createdAt?: Date;
    /** Identifier of the subject who last updated this user. */
    updatedBy: string;
    /** Timestamp representing the last time this user was updated. */
    updatedAt?: Date;
    /** Configuration for the expiration of the user, defining when and how the user will expire. */
    expirationConfig?: ExpirationConfig;
    /** Timestamp representing when the user will expire. */
    expiresAt?: Date;
    /** Set of key-value pairs that can be used to organize and categorize the user. */
    labels: {
        [key: string]: string;
    };
}
export interface User_LabelsEntry {
    key: string;
    value: string;
}
export declare const User: {
    encode(message: User, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): User;
    fromJSON(object: any): User;
    toJSON(message: User): unknown;
    fromPartial<I extends {
        id?: string | undefined;
        folderId?: string | undefined;
        name?: string | undefined;
        description?: string | undefined;
        source?: string | undefined;
        createdBy?: string | undefined;
        createdAt?: Date | undefined;
        updatedBy?: string | undefined;
        updatedAt?: Date | undefined;
        expirationConfig?: {
            expirationPolicy?: import("../../../../../../yandex/cloud/ai/common/common").ExpirationConfig_ExpirationPolicy | undefined;
            ttlDays?: number | undefined;
        } | undefined;
        expiresAt?: Date | undefined;
        labels?: {
            [x: string]: string | undefined;
        } | undefined;
    } & {
        id?: string | undefined;
        folderId?: string | undefined;
        name?: string | undefined;
        description?: string | undefined;
        source?: string | undefined;
        createdBy?: string | undefined;
        createdAt?: Date | undefined;
        updatedBy?: string | undefined;
        updatedAt?: Date | undefined;
        expirationConfig?: ({
            expirationPolicy?: import("../../../../../../yandex/cloud/ai/common/common").ExpirationConfig_ExpirationPolicy | undefined;
            ttlDays?: number | undefined;
        } & {
            expirationPolicy?: import("../../../../../../yandex/cloud/ai/common/common").ExpirationConfig_ExpirationPolicy | undefined;
            ttlDays?: number | undefined;
        } & Record<Exclude<keyof I["expirationConfig"], keyof ExpirationConfig>, never>) | undefined;
        expiresAt?: Date | undefined;
        labels?: ({
            [x: string]: string | undefined;
        } & {
            [x: string]: string | undefined;
        } & Record<Exclude<keyof I["labels"], string | number>, never>) | undefined;
    } & Record<Exclude<keyof I, keyof User>, never>>(object: I): User;
};
export declare const User_LabelsEntry: {
    encode(message: User_LabelsEntry, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): User_LabelsEntry;
    fromJSON(object: any): User_LabelsEntry;
    toJSON(message: User_LabelsEntry): unknown;
    fromPartial<I extends {
        key?: string | undefined;
        value?: string | undefined;
    } & {
        key?: string | undefined;
        value?: string | undefined;
    } & Record<Exclude<keyof I, keyof User_LabelsEntry>, never>>(object: I): User_LabelsEntry;
};
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 {};
