import * as z from "zod/v4";
import * as models from "../index.js";
export type UploadFileGlobals = {
    /**
     * The app identifier should be your app's URL and is used as the primary identifier for rankings.
     *
     * @remarks
     * This is used to track API usage per application.
     */
    httpReferer?: string | undefined;
    /**
     * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
     *
     * @remarks
     */
    appTitle?: string | undefined;
    /**
     * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
     *
     * @remarks
     */
    appCategories?: string | undefined;
};
export type UploadFileFile = {
    fileName: string;
    content: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Uint8Array;
};
export type UploadFileRequestBody = {
    file: UploadFileFile | Blob;
};
export type UploadFileRequest = {
    /**
     * The app identifier should be your app's URL and is used as the primary identifier for rankings.
     *
     * @remarks
     * This is used to track API usage per application.
     */
    httpReferer?: string | undefined;
    /**
     * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
     *
     * @remarks
     */
    appTitle?: string | undefined;
    /**
     * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
     *
     * @remarks
     */
    appCategories?: string | undefined;
    /**
     * Workspace to scope the request to. Defaults to the caller’s default workspace.
     */
    workspaceId?: string | undefined;
    /**
     * Store or read this file on the named provider using your own API key for it. Omit to use OpenRouter storage.
     */
    provider?: models.FileProvider | undefined;
    requestBody: UploadFileRequestBody;
};
/** @internal */
export type UploadFileFile$Outbound = {
    fileName: string;
    content: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Uint8Array;
};
/** @internal */
export declare const UploadFileFile$outboundSchema: z.ZodType<UploadFileFile$Outbound, UploadFileFile>;
export declare function uploadFileFileToJSON(uploadFileFile: UploadFileFile): string;
/** @internal */
export type UploadFileRequestBody$Outbound = {
    file: UploadFileFile$Outbound | Blob;
};
/** @internal */
export declare const UploadFileRequestBody$outboundSchema: z.ZodType<UploadFileRequestBody$Outbound, UploadFileRequestBody>;
export declare function uploadFileRequestBodyToJSON(uploadFileRequestBody: UploadFileRequestBody): string;
/** @internal */
export type UploadFileRequest$Outbound = {
    "HTTP-Referer"?: string | undefined;
    appTitle?: string | undefined;
    appCategories?: string | undefined;
    workspace_id?: string | undefined;
    provider?: string | undefined;
    RequestBody: UploadFileRequestBody$Outbound;
};
/** @internal */
export declare const UploadFileRequest$outboundSchema: z.ZodType<UploadFileRequest$Outbound, UploadFileRequest>;
export declare function uploadFileRequestToJSON(uploadFileRequest: UploadFileRequest): string;
//# sourceMappingURL=uploadfile.d.ts.map