import { DataSource } from 'typeorm'; export interface WidgetSummary { salesToday: number; transactionsCount: number; pendingOrders: number; lowStockCount: number; pendingCredits: number; updatedAt: string; } export interface WidgetAlert { type: 'low_stock' | 'pending_order' | 'overdue_credit' | 'new_message'; title: string; message: string; count: number; priority: 'low' | 'medium' | 'high'; } export declare class WidgetsService { private readonly dataSource; constructor(dataSource: DataSource); getSummary(tenantId: string): Promise; getAlerts(tenantId: string): Promise; getQuickActions(): { id: string; title: string; icon: string; deepLink: string; }[]; }