import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * The storage type of the asset. Defaults to 'upload'.
 */
export declare const Kind: {
    readonly Upload: "upload";
    readonly Private: "private";
    readonly Authenticated: "authenticated";
};
/**
 * The storage type of the asset. Defaults to 'upload'.
 */
export type Kind = ClosedEnum<typeof Kind>;
/**
 * Status information returned for in-progress chunked uploads.
 *
 * @remarks
 * Note that fields that are not yet determined or not known at the time of the call are omitted from the response.
 */
export type NonFinalChunkUploadResponse = {
    /**
     * Whether the upload is complete. Will be false for all but the last chunk.
     */
    done: boolean;
    /**
     * The total number of bytes uploaded so far.
     */
    bytes: number;
    /**
     * The storage type of the asset. Defaults to 'upload'.
     */
    kind?: Kind | undefined;
    /**
     * The type of resource being uploaded (e.g., "image", "video", "raw"). May be omitted in early chunks when using auto detection.
     */
    resourceType?: string | undefined;
    /**
     * The public ID assigned to the upload. May be omitted in early chunks if it will be auto-generated upon completion.
     */
    publicId?: string | undefined;
};
/** @internal */
export declare const Kind$inboundSchema: z.ZodNativeEnum<typeof Kind>;
/** @internal */
export declare const Kind$outboundSchema: z.ZodNativeEnum<typeof Kind>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Kind$ {
    /** @deprecated use `Kind$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Upload: "upload";
        readonly Private: "private";
        readonly Authenticated: "authenticated";
    }>;
    /** @deprecated use `Kind$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Upload: "upload";
        readonly Private: "private";
        readonly Authenticated: "authenticated";
    }>;
}
/** @internal */
export declare const NonFinalChunkUploadResponse$inboundSchema: z.ZodType<NonFinalChunkUploadResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type NonFinalChunkUploadResponse$Outbound = {
    done: boolean;
    bytes: number;
    kind?: string | undefined;
    resource_type?: string | undefined;
    public_id?: string | undefined;
};
/** @internal */
export declare const NonFinalChunkUploadResponse$outboundSchema: z.ZodType<NonFinalChunkUploadResponse$Outbound, z.ZodTypeDef, NonFinalChunkUploadResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace NonFinalChunkUploadResponse$ {
    /** @deprecated use `NonFinalChunkUploadResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<NonFinalChunkUploadResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `NonFinalChunkUploadResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<NonFinalChunkUploadResponse$Outbound, z.ZodTypeDef, NonFinalChunkUploadResponse>;
    /** @deprecated use `NonFinalChunkUploadResponse$Outbound` instead. */
    type Outbound = NonFinalChunkUploadResponse$Outbound;
}
export declare function nonFinalChunkUploadResponseToJSON(nonFinalChunkUploadResponse: NonFinalChunkUploadResponse): string;
export declare function nonFinalChunkUploadResponseFromJSON(jsonString: string): SafeParseResult<NonFinalChunkUploadResponse, SDKValidationError>;
//# sourceMappingURL=nonfinalchunkuploadresponse.d.ts.map