import * as z from "zod/v4";
import { OpenEnum } from "../../types/enums.js";
export type GetRankingsDailyGlobals = {
    /**
     * 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;
};
/**
 * Time grain of each row. `day` (default) returns the per-UTC-day series; `week` buckets by ISO week start; `month` buckets by month start. With `category` or `language_type` only `week` (default) and `month` are available — `day` is rejected with a 400 because those datasets are aggregated weekly. For those sampled datasets `period=month` buckets each week by its week-start month, so totals are approximate at month boundaries.
 */
export declare const Period: {
    readonly Day: "day";
    readonly Week: "week";
    readonly Month: "month";
};
/**
 * Time grain of each row. `day` (default) returns the per-UTC-day series; `week` buckets by ISO week start; `month` buckets by month start. With `category` or `language_type` only `week` (default) and `month` are available — `day` is rejected with a 400 because those datasets are aggregated weekly. For those sampled datasets `period=month` buckets each week by its week-start month, so totals are approximate at month boundaries.
 */
export type Period = OpenEnum<typeof Period>;
/**
 * Restrict to models for a modality surface: `text` / `image_output` match output modality, `image` / `audio` match input modality, and `tool_calling` keeps only rows that recorded at least one tool call. Exact dataset — cannot be combined with `category` or `language_type`.
 */
export declare const Modality: {
    readonly Text: "text";
    readonly Image: "image";
    readonly ImageOutput: "image_output";
    readonly Audio: "audio";
    readonly ToolCalling: "tool_calling";
};
/**
 * Restrict to models for a modality surface: `text` / `image_output` match output modality, `image` / `audio` match input modality, and `tool_calling` keeps only rows that recorded at least one tool call. Exact dataset — cannot be combined with `category` or `language_type`.
 */
export type Modality = OpenEnum<typeof Modality>;
/**
 * Restrict to requests whose context length falls in this bucket (`1K`, `10K`, `100K`, `1M`, or `10M`). Exact dataset — cannot be combined with `category` or `language_type`.
 */
export declare const ContextBucket: {
    readonly OneK: "1K";
    readonly TenK: "10K";
    readonly OneHundredK: "100K";
    readonly OneM: "1M";
    readonly TenM: "10M";
};
/**
 * Restrict to requests whose context length falls in this bucket (`1K`, `10K`, `100K`, `1M`, or `10M`). Exact dataset — cannot be combined with `category` or `language_type`.
 */
export type ContextBucket = OpenEnum<typeof ContextBucket>;
/**
 * Restrict to a use-case category (e.g. `programming`, `roleplay`). Sourced from a sampled, upsampled dataset, so `total_tokens` is an estimate and is aggregated weekly (the trailing weekly bucket may include traffic past `end_date`). Cannot be combined with `modality`, `context_bucket`, or `language_type`.
 */
export declare const GetRankingsDailyCategory: {
    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";
};
/**
 * Restrict to a use-case category (e.g. `programming`, `roleplay`). Sourced from a sampled, upsampled dataset, so `total_tokens` is an estimate and is aggregated weekly (the trailing weekly bucket may include traffic past `end_date`). Cannot be combined with `modality`, `context_bucket`, or `language_type`.
 */
export type GetRankingsDailyCategory = OpenEnum<typeof GetRankingsDailyCategory>;
/**
 * Restrict to natural-language or programming-language tagged activity. Sourced from a sampled, upsampled dataset, so `total_tokens` is an estimate and is aggregated weekly (the trailing weekly bucket may include traffic past `end_date`). Cannot be combined with `modality`, `context_bucket`, or `category`.
 */
export declare const LanguageType: {
    readonly Natural: "natural";
    readonly Programming: "programming";
};
/**
 * Restrict to natural-language or programming-language tagged activity. Sourced from a sampled, upsampled dataset, so `total_tokens` is an estimate and is aggregated weekly (the trailing weekly bucket may include traffic past `end_date`). Cannot be combined with `modality`, `context_bucket`, or `category`.
 */
export type LanguageType = OpenEnum<typeof LanguageType>;
export type GetRankingsDailyRequest = {
    /**
     * 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;
    /**
     * Start of the date window in YYYY-MM-DD (UTC), inclusive. Defaults to 30 days before `end_date`. The dataset begins at 2025-01-01; earlier values are clamped forward to that floor and the resolved value is echoed in `meta.start_date`.
     */
    startDate?: string | undefined;
    /**
     * End of the date window in YYYY-MM-DD (UTC), inclusive. Defaults to the most recent completed UTC day. Must be on or after 2025-01-01; earlier values are rejected with a 400.
     */
    endDate?: string | undefined;
    /**
     * Time grain of each row. `day` (default) returns the per-UTC-day series; `week` buckets by ISO week start; `month` buckets by month start. With `category` or `language_type` only `week` (default) and `month` are available — `day` is rejected with a 400 because those datasets are aggregated weekly. For those sampled datasets `period=month` buckets each week by its week-start month, so totals are approximate at month boundaries.
     */
    period?: Period | undefined;
    /**
     * Restrict to models for a modality surface: `text` / `image_output` match output modality, `image` / `audio` match input modality, and `tool_calling` keeps only rows that recorded at least one tool call. Exact dataset — cannot be combined with `category` or `language_type`.
     */
    modality?: Modality | undefined;
    /**
     * Restrict to requests whose context length falls in this bucket (`1K`, `10K`, `100K`, `1M`, or `10M`). Exact dataset — cannot be combined with `category` or `language_type`.
     */
    contextBucket?: ContextBucket | undefined;
    /**
     * Restrict to a use-case category (e.g. `programming`, `roleplay`). Sourced from a sampled, upsampled dataset, so `total_tokens` is an estimate and is aggregated weekly (the trailing weekly bucket may include traffic past `end_date`). Cannot be combined with `modality`, `context_bucket`, or `language_type`.
     */
    category?: GetRankingsDailyCategory | undefined;
    /**
     * Restrict to natural-language or programming-language tagged activity. Sourced from a sampled, upsampled dataset, so `total_tokens` is an estimate and is aggregated weekly (the trailing weekly bucket may include traffic past `end_date`). Cannot be combined with `modality`, `context_bucket`, or `category`.
     */
    languageType?: LanguageType | undefined;
};
/** @internal */
export declare const Period$outboundSchema: z.ZodType<string, Period>;
/** @internal */
export declare const Modality$outboundSchema: z.ZodType<string, Modality>;
/** @internal */
export declare const ContextBucket$outboundSchema: z.ZodType<string, ContextBucket>;
/** @internal */
export declare const GetRankingsDailyCategory$outboundSchema: z.ZodType<string, GetRankingsDailyCategory>;
/** @internal */
export declare const LanguageType$outboundSchema: z.ZodType<string, LanguageType>;
/** @internal */
export type GetRankingsDailyRequest$Outbound = {
    "HTTP-Referer"?: string | undefined;
    appTitle?: string | undefined;
    appCategories?: string | undefined;
    start_date?: string | undefined;
    end_date?: string | undefined;
    period?: string | undefined;
    modality?: string | undefined;
    context_bucket?: string | undefined;
    category?: string | undefined;
    language_type?: string | undefined;
};
/** @internal */
export declare const GetRankingsDailyRequest$outboundSchema: z.ZodType<GetRankingsDailyRequest$Outbound, GetRankingsDailyRequest>;
export declare function getRankingsDailyRequestToJSON(getRankingsDailyRequest: GetRankingsDailyRequest): string;
//# sourceMappingURL=getrankingsdaily.d.ts.map