import type { PricingInfo } from '../types.js';
/**
 * Custom type to transform raw API pricing data into a clean, client-friendly format
 * that matches the style of the unstructured text output instead of using the raw API format.
 */
export type StructuredPricingInfo = {
    model: string;
    isFree: boolean;
    pricePerUnit?: number;
    unitName?: string;
    trialMinutes?: number;
    tieredPricing?: {
        tier: string;
        pricePerUnit: number;
    }[];
    events?: {
        title: string;
        description: string;
        priceUsd?: number;
        tieredPricing?: {
            tier: string;
            priceUsd: number;
        }[];
    }[];
};
/**
 * Returns the most recent valid pricing information from a list of pricing infos,
 * based on the provided current date.
 *
 * Filters out pricing infos that have a `startedAt` date in the future or missing,
 * then sorts the remaining infos by `startedAt` in descending order (most recent first).
 * Returns the most recent valid pricing info, or `null` if none are valid.
 */
export declare function getCurrentPricingInfo(pricingInfos: PricingInfo[], now: Date): PricingInfo | null;
export declare function pricingInfoToString(pricingInfo: PricingInfo | null): string;
/**
 * Transform and normalize API response to match unstructured text output format
 * instead of just dumping raw API data - ensures consistency across structured & unstructured modes.
 */
export declare function pricingInfoToStructured(pricingInfo: PricingInfo | null): StructuredPricingInfo;
//# sourceMappingURL=pricing_info.d.ts.map