import * as z from "zod/v4";
import { OpenEnum } from "../types/enums.js";
/**
 * Price source for the Pareto frontier cost axis and for enforcing max_price. "prompt" uses catalog list price (endpoint.pricing.prompt). "weighted_avg" uses traffic-weighted effective input price from ClickHouse, falling back to prompt price for models without traffic data. Defaults to "prompt".
 */
export declare const PriceSource: {
    readonly Prompt: "prompt";
    readonly WeightedAvg: "weighted_avg";
};
/**
 * Price source for the Pareto frontier cost axis and for enforcing max_price. "prompt" uses catalog list price (endpoint.pricing.prompt). "weighted_avg" uses traffic-weighted effective input price from ClickHouse, falling back to prompt price for models without traffic data. Defaults to "prompt".
 */
export type PriceSource = OpenEnum<typeof PriceSource>;
export type ParetoRouterPlugin = {
    /**
     * Set to false to disable the pareto-router plugin for this request. Defaults to true.
     */
    enabled?: boolean | undefined;
    id: "pareto-router";
    /**
     * Maximum input price in USD per million tokens. When set, quality-tier selection (min_coding_score) is bypassed: the router computes the Pareto frontier over the top coding models and routes to the best-scoring frontier model priced at or below this cap, falling back through cheaper frontier models, then non-frontier models. Enforced against the price source given by price_source. Returns 404 when no candidate satisfies the cap.
     */
    maxPrice?: number | undefined;
    /**
     * Minimum coding quality score between 0 and 1. Maps to internal quality tiers: >= 0.66 → high (top coding models), >= 0.33 → medium (strong modern flagships), < 0.33 → low (capable coders above the median). Omit to default to the highest tier (equivalent to >= 0.66). Not used when max_price is set (price-based selection takes over).
     */
    minCodingScore?: number | undefined;
    /**
     * Price source for the Pareto frontier cost axis and for enforcing max_price. "prompt" uses catalog list price (endpoint.pricing.prompt). "weighted_avg" uses traffic-weighted effective input price from ClickHouse, falling back to prompt price for models without traffic data. Defaults to "prompt".
     */
    priceSource?: PriceSource | undefined;
};
/** @internal */
export declare const PriceSource$outboundSchema: z.ZodType<string, PriceSource>;
/** @internal */
export type ParetoRouterPlugin$Outbound = {
    enabled?: boolean | undefined;
    id: "pareto-router";
    max_price?: number | undefined;
    min_coding_score?: number | undefined;
    price_source?: string | undefined;
};
/** @internal */
export declare const ParetoRouterPlugin$outboundSchema: z.ZodType<ParetoRouterPlugin$Outbound, ParetoRouterPlugin>;
export declare function paretoRouterPluginToJSON(paretoRouterPlugin: ParetoRouterPlugin): string;
//# sourceMappingURL=paretorouterplugin.d.ts.map