import type { Tier } from "./types.js"; /** * Determine the access tier from an API key. * No key or invalid key = free tier. */ export declare function resolveTier(apiKey?: string): Tier; /** * Redact sensitive pricing fields for free-tier users. * Shows structure but hides vendor, model, and price. */ export declare function redactForFreeTier(rows: Record[], fieldsToRedact?: string[]): Record[]; /** * Build a free-tier summary: count + price range (no individual records). */ export declare function buildFreeTierSummary(rows: Record[]): { total_results: number; price_range: { min: number | null; max: number | null; }; modalities: string[]; directions: string[]; upgrade_message: string; }; /** * Returns an additional content block for free-tier responses. * This plain-text note ensures the AI assistant surfaces the upgrade path. */ export declare function freeTierNote(toolContext: string): { type: "text"; text: string; }; /** * Gate a full result set based on tier. * Paid tier gets everything. Free tier gets redacted + summary. */ export declare function gateResults(rows: Record[], tier: Tier): unknown; //# sourceMappingURL=auth.d.ts.map