/** * Harness credits, as the platform grants them and as every surface says them. * * One file because the HUD's row and the daemon's refusal must say the same sentence: when the two * were written apart, the HUD offered "a free monthly allowance" the platform no longer grants. * The numbers are always the platform's (`limit`); only the trial length is not on the wire. * * Served from `@reticlehq/core/hud` only: from the root entry it rode into every page's first load. */ import { CreditKind } from './impact.js'; /** The trial a card starts. Not on the wire; the platform's own sentence names it the same. */ export declare const TRIAL_DAYS = 14; /** What a new account is granted, and what a card's trial grants. The platform's numbers, said. */ export declare const FREE_CREDITS = 10; export declare const TRIAL_CREDITS = 500; /** What a signed-out HUD says the Harness costs to try. */ export declare const SIGN_UP_PITCH: string; /** The platform's offer, worded once: what a card starts, and what an account gets without one. */ export declare const TRIAL_OFFER: string; export interface Credits { used: number; limit: number; kind?: CreditKind | undefined; /** Whole days the grant has left, when the platform gave an end date. Absent: not said. */ daysLeft?: number | undefined; } /** Nothing left. An unbounded plan (no credits reported) never is. */ export declare function creditsSpent(credits: Credits | undefined): boolean; /** "8 of 10 free credits", "420 of 500 trial credits", else "N of M credits left". */ export declare function creditsLeftText(credits: Credits): string; /** "Trial: 120 of 500 credits used · 380 left · 9 days left"; days only when the platform said. */ export declare function creditsUsageText(credits: Credits): string; /** The sentence for no credits left, and the one thing that gets more when there is one. */ export declare function creditsUsedText(credits: Credits): { said: string; action?: string; }; /** The same, as one terminal line, with where to act when there is somewhere. */ export declare function creditsUsedLine(credits: Credits, planUrl: string): string;