import type { AllowanceExhaustedRefusal } from "@opengeni/sdk"; import { type ReactNode } from "react"; import { type AllowanceLabels } from "../usage/allowance-copy.js"; /** * Replace the built-in "usage limit reached" row. Return `undefined` to keep * the default for this refusal (for example, only customize member limits). */ export type RenderAllowanceExhausted = (refusal: AllowanceExhaustedRefusal, context: { labels: AllowanceLabels; defaultRow: ReactNode; }) => ReactNode | undefined; export declare function AllowancePresentationProvider({ render, labels, children, }: { render: RenderAllowanceExhausted | undefined; labels: Partial | undefined; children: ReactNode; }): import("react").JSX.Element; /** * A usage ceiling stopped further work. Calm by design: nothing failed, the * conversation is kept, and the row says who can raise the limit and when it * resets. Never the server's prose or a member identifier. */ export declare function AllowanceExhaustedRow({ refusal }: { refusal: AllowanceExhaustedRefusal; }): import("react").JSX.Element;