import type { ReactNode } from "react"; export type SubscriptionAccountMenuRow = { id: string; label: string; plan?: string | null | undefined; status?: string | null; detail?: string; personal?: boolean; disabled?: boolean; /** Per-window readings, not an aggregate capacity/eligibility estimate. */ usageSummary?: string | undefined; /** The row's most-used window, drawn as a small bar beside the summary. */ usageBar?: { label: string; usedPercent: number; } | undefined; }; export type SubscriptionAccountUsageWindow = { label: string; /** Null means unknown; values over 100 can represent overage. */ usedPercent: number | null; detail?: string; }; export type SubscriptionAccountMenuUsage = { checking?: boolean | undefined; unavailable?: boolean | undefined; message?: string | undefined; note?: string | undefined; windows?: SubscriptionAccountUsageWindow[] | undefined; }; export declare function SubscriptionAccountMenu({ ariaLabel, triggerMark, headerMark, selectionLabel, displayName, metadata, identity, tone, usage, accounts, selectedId, automaticSelected, choosing, choosingTarget, actionLabel, automaticLabel, emptyMessage, error, note, onOpenChange, onChoose, }: { ariaLabel: string; triggerMark: ReactNode; headerMark: ReactNode; selectionLabel: string; displayName: string; metadata: string; identity?: string | null | undefined; tone?: "ok" | "warn" | "bad" | undefined; usage: SubscriptionAccountMenuUsage; accounts: SubscriptionAccountMenuRow[]; selectedId: string | null; automaticSelected: boolean; choosing: boolean; choosingTarget: string | null | undefined; actionLabel?: string | undefined; automaticLabel?: string | undefined; emptyMessage?: string | undefined; error?: string | null | undefined; note: string; onOpenChange?: ((open: boolean) => void) | undefined; onChoose: (connectionId: string | null) => void; }): import("react").JSX.Element;