import _m0 from 'protobufjs/minimal';
export declare const protobufPackage = "yandex.cloud.compute.v1";
/**
 * A filesystem resource.
 * For details about the concept, see [documentation](/docs/compute/concepts/filesystem).
 */
export interface Filesystem {
    /** ID of the filesystem. Generated at creation time. */
    id: string;
    /** ID of the folder that the filesystem belongs to. */
    folderId: string;
    /** Creation timestamp. */
    createdAt?: Date;
    /** Name of the filesystem. The name is unique within the folder. */
    name: string;
    /** Description of the filesystem. */
    description: string;
    /**
     * Filesystem labels as `key:value` pairs.
     * For details about the concept, see [documentation](/docs/overview/concepts/services#labels).
     */
    labels: {
        [key: string]: string;
    };
    /**
     * ID of the filesystem type.
     *
     * To get a list of available filesystem types, make a [yandex.cloud.compute.v1.DiskTypeService.List] request.
     */
    typeId: string;
    /**
     * ID of the availability zone where the filesystem resides.
     *
     * A filesystem can be attached only to instances residing in the same availability zone.
     */
    zoneId: string;
    /** Size of the filesystem, specified in bytes. */
    size: number;
    /** Block size used for the filesystem, specified in bytes. */
    blockSize: number;
    /** Current status of the filesystem. */
    status: Filesystem_Status;
}
export declare enum Filesystem_Status {
    STATUS_UNSPECIFIED = 0,
    /** CREATING - The filesystem is being created. */
    CREATING = 1,
    /** READY - The filesystem is ready to use. */
    READY = 2,
    /** ERROR - The filesystem encountered a problem and cannot operate. */
    ERROR = 3,
    /** DELETING - The filesystem is being deleted. */
    DELETING = 4,
    UNRECOGNIZED = -1
}
export declare function filesystem_StatusFromJSON(object: any): Filesystem_Status;
export declare function filesystem_StatusToJSON(object: Filesystem_Status): string;
export interface Filesystem_LabelsEntry {
    key: string;
    value: string;
}
export declare const Filesystem: {
    encode(message: Filesystem, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Filesystem;
    fromJSON(object: any): Filesystem;
    toJSON(message: Filesystem): unknown;
    fromPartial<I extends {
        id?: string | undefined;
        folderId?: string | undefined;
        createdAt?: Date | undefined;
        name?: string | undefined;
        description?: string | undefined;
        labels?: {
            [x: string]: string | undefined;
        } | undefined;
        typeId?: string | undefined;
        zoneId?: string | undefined;
        size?: number | undefined;
        blockSize?: number | undefined;
        status?: Filesystem_Status | undefined;
    } & {
        id?: string | undefined;
        folderId?: string | undefined;
        createdAt?: Date | undefined;
        name?: string | undefined;
        description?: string | undefined;
        labels?: ({
            [x: string]: string | undefined;
        } & {
            [x: string]: string | undefined;
        } & Record<Exclude<keyof I["labels"], string | number>, never>) | undefined;
        typeId?: string | undefined;
        zoneId?: string | undefined;
        size?: number | undefined;
        blockSize?: number | undefined;
        status?: Filesystem_Status | undefined;
    } & Record<Exclude<keyof I, keyof Filesystem>, never>>(object: I): Filesystem;
};
export declare const Filesystem_LabelsEntry: {
    encode(message: Filesystem_LabelsEntry, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Filesystem_LabelsEntry;
    fromJSON(object: any): Filesystem_LabelsEntry;
    toJSON(message: Filesystem_LabelsEntry): unknown;
    fromPartial<I extends {
        key?: string | undefined;
        value?: string | undefined;
    } & {
        key?: string | undefined;
        value?: string | undefined;
    } & Record<Exclude<keyof I, keyof Filesystem_LabelsEntry>, never>>(object: I): Filesystem_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 {};
