import type { FreeCreditGap } from "../../lib/free-credit-gap.js"; /** * The API refused a Send or a new chat because no credit pays for its model. * Stays above the composer until the next accepted message, so the refusal is * not only a short line under a failed bubble: it names the model, the * server's reason, the models the remaining credit covers, and the next step. */ export declare function CreditRefusalNotice({ gap, message, workspaceId, canBuyCredits, canConnectModel, onChooseModel, onDismiss, }: { gap: FreeCreditGap; /** The API's refusal text. */ message?: string | null | undefined; workspaceId: string; canBuyCredits: boolean; canConnectModel: boolean; /** Select a covered model in the composer. */ onChooseModel?: ((id: string) => void) | undefined; onDismiss?: (() => void) | undefined; }): import("react").JSX.Element;