import { AthenaTableQueryClient } from '../../../athena/table-query.js'; export type BillingSettingsSectionId = "overview" | "catalog" | "checkouts" | "subscriptions" | "payments" | "invoices" | "connections" | "webhookEvents" | "projectionEvents" | "customerImport" | "webhookIngestion"; export interface BillingUiOptions { /** * Optional direct Athena query client. When omitted, queries inherit the * root client from `AthenaAuthProvider`. */ client?: AthenaTableQueryClient | null; /** * @deprecated Legacy app-owned proxy escape hatch. * Prefer the root Athena client supplied to AthenaAuthProvider. */ dataProxy?: string; defaultPageSize?: number; pageSizeOptions?: readonly number[]; /** * Which billing settings sections to render. * All enabled by default except projectionEvents (ops-heavy). */ sections?: Partial>; /** * Table pagination footer (page links + optional rows-per-page). * @default true */ showPagination?: boolean; /** * Rows-per-page selector inside the pagination footer. * @default true */ showPageSizeSelector?: boolean; /** * Manual Refresh action on each billing table card. * Off by default; tables poll automatically. * @default false */ showRefresh?: boolean; /** * Poll interval for billing table (and overview) queries, in milliseconds. * `false` disables polling. * @default false */ refetchInterval?: number | false; /** * Opt-in pagination range summary on billing tables. * @default false */ showSummary?: boolean; } /** * @deprecated Legacy Athena Auth UI data proxy. */ export declare const DEFAULT_BILLING_DATA_PROXY = "/api/data/all"; export declare const DEFAULT_BILLING_SECTIONS: Record; export declare function BillingUiOptionsProvider({ children, value, }: { children: React.ReactNode; value: BillingUiOptions; }): import("react").JSX.Element; export declare function useBillingUiOptions(): Required> & BillingUiOptions; export declare function resolveBillingSections(sections?: BillingUiOptions["sections"]): Record;