import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type ListRawFilesGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
/**
 * The delivery type. Necessary for prefix filtering.
 */
export declare const ListRawFilesType: {
    readonly Upload: "upload";
    readonly Private: "private";
    readonly Authenticated: "authenticated";
    readonly List: "list";
};
/**
 * The delivery type. Necessary for prefix filtering.
 */
export type ListRawFilesType = ClosedEnum<typeof ListRawFilesType>;
export type ListRawFilesRequest = {
    /**
     * The delivery type. Necessary for prefix filtering.
     */
    type?: ListRawFilesType | undefined;
    /**
     * A public_id prefix. When specified, all assets with that prefix are returned. When using this, the `type` parameter must also be specified.
     */
    prefix?: string | undefined;
    /**
     * An array of public IDs to return.
     */
    publicIds?: Array<string> | undefined;
    /**
     * Whether to include the list of tag names assigned to each asset. Default: false
     */
    tags?: boolean | undefined;
    /**
     * Cursor for pagination.
     */
    nextCursor?: string | undefined;
    /**
     * Maximum number of results to return (1-500).
     */
    maxResults?: number | undefined;
    /**
     * Sort direction.
     */
    direction?: components.Direction | undefined;
    /**
     * An ISO-8601 formatted timestamp. When specified, assets created since that timestamp are returned.  Supported only if neither `prefix` nor `public_ids` were passed.
     */
    startAt?: Date | undefined;
    fields?: Array<components.FieldsSpec> | undefined;
};
/** @internal */
export declare const ListRawFilesGlobals$inboundSchema: z.ZodType<ListRawFilesGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type ListRawFilesGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const ListRawFilesGlobals$outboundSchema: z.ZodType<ListRawFilesGlobals$Outbound, z.ZodTypeDef, ListRawFilesGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ListRawFilesGlobals$ {
    /** @deprecated use `ListRawFilesGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ListRawFilesGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `ListRawFilesGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ListRawFilesGlobals$Outbound, z.ZodTypeDef, ListRawFilesGlobals>;
    /** @deprecated use `ListRawFilesGlobals$Outbound` instead. */
    type Outbound = ListRawFilesGlobals$Outbound;
}
export declare function listRawFilesGlobalsToJSON(listRawFilesGlobals: ListRawFilesGlobals): string;
export declare function listRawFilesGlobalsFromJSON(jsonString: string): SafeParseResult<ListRawFilesGlobals, SDKValidationError>;
/** @internal */
export declare const ListRawFilesType$inboundSchema: z.ZodNativeEnum<typeof ListRawFilesType>;
/** @internal */
export declare const ListRawFilesType$outboundSchema: z.ZodNativeEnum<typeof ListRawFilesType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ListRawFilesType$ {
    /** @deprecated use `ListRawFilesType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Upload: "upload";
        readonly Private: "private";
        readonly Authenticated: "authenticated";
        readonly List: "list";
    }>;
    /** @deprecated use `ListRawFilesType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Upload: "upload";
        readonly Private: "private";
        readonly Authenticated: "authenticated";
        readonly List: "list";
    }>;
}
/** @internal */
export declare const ListRawFilesRequest$inboundSchema: z.ZodType<ListRawFilesRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type ListRawFilesRequest$Outbound = {
    type?: string | undefined;
    prefix?: string | undefined;
    public_ids?: Array<string> | undefined;
    tags?: boolean | undefined;
    next_cursor?: string | undefined;
    max_results?: number | undefined;
    direction?: string | undefined;
    start_at?: string | undefined;
    fields?: Array<string> | undefined;
};
/** @internal */
export declare const ListRawFilesRequest$outboundSchema: z.ZodType<ListRawFilesRequest$Outbound, z.ZodTypeDef, ListRawFilesRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ListRawFilesRequest$ {
    /** @deprecated use `ListRawFilesRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ListRawFilesRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `ListRawFilesRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ListRawFilesRequest$Outbound, z.ZodTypeDef, ListRawFilesRequest>;
    /** @deprecated use `ListRawFilesRequest$Outbound` instead. */
    type Outbound = ListRawFilesRequest$Outbound;
}
export declare function listRawFilesRequestToJSON(listRawFilesRequest: ListRawFilesRequest): string;
export declare function listRawFilesRequestFromJSON(jsonString: string): SafeParseResult<ListRawFilesRequest, SDKValidationError>;
//# sourceMappingURL=listrawfiles.d.ts.map