interface OutOfCreditsDialogProps {
    /** Whether the dialog is visible. */
    open: boolean;
    /** Called when the user dismisses the dialog. */
    onClose: () => void;
    /**
     * Element to portal the dialog into. When provided (and `position: relative`),
     * the overlay is constrained to that container instead of the viewport, so
     * the dialog stays inside the assistant panel rather than covering the whole
     * page. Falls back to a viewport-fixed overlay when omitted.
     */
    container?: HTMLElement | null;
    t: (key: string, params?: Record<string, string | number>) => string;
}
/**
 * Informational gate shown when the backend rejects a chat request with
 * `OUT_OF_AI_CREDITS`. Mirrors the KvAssistant "Out of AI Credits" modal:
 * tells the user their credits are spent and when they renew.
 */
export declare function OutOfCreditsDialog({ open, onClose, container, t }: OutOfCreditsDialogProps): import("react/jsx-runtime").JSX.Element;
export {};
