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