import type { Tier } from "./types.js"; /** No key or an unknown key means free tier. */ export declare function resolveTier(apiKey?: string): Promise; /** Replace vendor, model and price fields with the upgrade label. */ export declare function redactForFreeTier(rows: Record[], fieldsToRedact?: string[]): Record[]; /** Free-tier summary: count and price range, no individual records. */ export declare function buildFreeTierSummary(rows: Record[]): { total_results: number; price_range: { min: number | null; max: number | null; }; units: string[]; modalities: string[]; directions: string[]; }; /** Plain-text note so the assistant surfaces the upgrade path. */ export declare function freeTierNote(toolContext: string): { type: "text"; text: string; }; /** Paid tier gets every row; free tier gets a summary and a redacted sample. */ export declare function gateResults(rows: Record[], tier: Tier): unknown; //# sourceMappingURL=auth.d.ts.map