import { AthenaTableOrder, AthenaTableQueryDefinition } from '../../../athena/table-query.js'; import { AthenaTableFlatRow } from '../table/hooks/use-athena-query.js'; import { BillingStatusKind } from './status/registry.js'; export type BillingTablePresetId = "subscriptions" | "payments" | "invoices" | "checkouts" | "connections" | "webhookEvents" | "projectionEvents" | "importRuns" | "importCandidates" | "webhookRegistrations"; export interface BillingTableColumnPreset { id: string; isRowHeader?: boolean; label: string; statusKind?: BillingStatusKind; } export interface BillingTablePreset { columns: readonly BillingTableColumnPreset[]; countColumn: string; description?: string; id: BillingTablePresetId; orderBy: AthenaTableOrder[]; query: AthenaTableQueryDefinition; rowKey: string | ((row: AthenaTableFlatRow) => string); title: string; } /** * Portable Athena table query presets for the canonical billing schema. * Used by settings billing surfaces and can be reused by showcases. */ export declare const BILLING_TABLE_PRESETS: readonly BillingTablePreset[]; export declare function getBillingTablePreset(id: BillingTablePresetId): BillingTablePreset;