import * as z from "zod/v4"; import { OpenEnum } from "../../types/enums.js"; export type GetModelsGlobals = { /** * 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; }; /** * Filter models by use case category */ export declare const Category: { readonly Programming: "programming"; readonly Roleplay: "roleplay"; readonly Marketing: "marketing"; readonly MarketingSeo: "marketing/seo"; readonly Technology: "technology"; readonly Science: "science"; readonly Translation: "translation"; readonly Legal: "legal"; readonly Finance: "finance"; readonly Health: "health"; readonly Trivia: "trivia"; readonly Academia: "academia"; }; /** * Filter models by use case category */ export type Category = OpenEnum; export type GetModelsRequest = { /** * 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; /** * Filter models by use case category */ category?: Category | undefined; /** * Filter models by supported parameter (comma-separated) */ supportedParameters?: string | undefined; /** * Filter models by output modality. Accepts a comma-separated list of modalities (text, image, audio, embeddings) or "all" to include all models. Defaults to "text". */ outputModalities?: string | undefined; }; /** @internal */ export declare const Category$outboundSchema: z.ZodType; /** @internal */ export type GetModelsRequest$Outbound = { "HTTP-Referer"?: string | undefined; appTitle?: string | undefined; appCategories?: string | undefined; category?: string | undefined; supported_parameters?: string | undefined; output_modalities?: string | undefined; }; /** @internal */ export declare const GetModelsRequest$outboundSchema: z.ZodType; export declare function getModelsRequestToJSON(getModelsRequest: GetModelsRequest): string; //# sourceMappingURL=getmodels.d.ts.map