/** * SalesDashboard — CRM composition surface (#1924). * * Summary tiles (open opportunity count, open pipeline value per stage, win * rate) computed from props via the exported pure helpers in `types.ts`, plus * snippet props to embed the board and list surfaces underneath. Multi-currency * pipelines render one total line per currency — amounts are never summed * across currencies. */ import type { Snippet } from 'svelte'; import type { OpportunityCardView, PipelineStageView } from '../types.js'; export interface Props { /** All opportunities in scope (open and closed — closed feed the win rate). */ opportunities?: OpportunityCardView[]; /** Pipeline stages, in order (for the per-stage value breakdown). */ stages?: PipelineStageView[]; /** BCP 47 locale for money/percent formatting. */ locale?: string; /** Embedded pipeline board (e.g. an `OpportunityBoard`). */ board?: Snippet; /** Embedded lead/opportunity list (e.g. a `LeadList`). */ list?: Snippet; /** Additional embedded content rendered last. */ children?: Snippet; } declare const SalesDashboard: import("svelte").Component; type SalesDashboard = ReturnType; export default SalesDashboard; //# sourceMappingURL=SalesDashboard.svelte.d.ts.map