/** * Buyer Dashboard component utilities * * Provides rendering utilities for the buyer experience including: * - Active subscriptions/grants * - Purchase history * - Credits balance management * - Data access status */ import type { BuyerDashboard, AccessGrant } from '../types'; /** Buyer dashboard render props */ export interface BuyerDashboardProps { dashboard: BuyerDashboard; onViewGrant?: (grant: AccessGrant) => void; onBrowse?: () => void; onPurchaseCredits?: () => void; } /** Format grant status for display */ export declare function formatGrantStatus(status: number): { label: string; color: string; }; /** Format delivery method for display */ export declare function formatDeliveryMethod(method: string): string; /** Render buyer dashboard as HTML */ export declare function renderBuyerDashboardHTML(props: BuyerDashboardProps): string; /** CSS styles for buyer dashboard */ export declare const buyerDashboardStyles = "\n.buyer-dashboard {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n color: #e0e0e0;\n background: #0a0a1a;\n padding: 24px;\n}\n\n.grant-card {\n background: #1a1a2e;\n border: 1px solid #2a2a3a;\n border-radius: 8px;\n padding: 16px;\n margin-bottom: 12px;\n}\n\n.grant-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 12px;\n}\n\n.grant-tier {\n font-weight: 600;\n font-size: 1.1rem;\n}\n\n.grant-details {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 8px;\n}\n\n.grant-detail {\n display: flex;\n flex-direction: column;\n}\n\n.detail-label {\n font-size: 0.75rem;\n color: #808080;\n}\n\n.detail-value {\n font-size: 0.9rem;\n}\n\n.auto-renew-badge {\n display: inline-block;\n background: #2a4a6a;\n color: #8ac0ff;\n padding: 2px 8px;\n border-radius: 4px;\n font-size: 0.75rem;\n margin-top: 4px;\n}\n\n.btn-sm {\n padding: 4px 12px;\n border-radius: 4px;\n border: 1px solid #3a3a5a;\n background: transparent;\n color: #a0a0c0;\n cursor: pointer;\n font-size: 0.75rem;\n margin-top: 8px;\n}\n"; //# sourceMappingURL=BuyerDashboard.d.ts.map