export interface ContributionDay { /** ISO date `YYYY-MM-DD` */ date: string; count: number; /** Optional tooltip override */ label?: string; } export type ContributionPalette = 'green' | 'brand' | 'blue' | 'orange'; interface ContributionGraphProps { data?: ContributionDay[]; /** Weeks to show (default ~1 year) */ weeks?: number; palette?: ContributionPalette; cellSize?: number; cellGap?: number; showMonthLabels?: boolean; showLegend?: boolean; showWeekdayLabels?: boolean; ariaLabel?: string; class?: string; onselect?: (day: ContributionDay) => void; } declare const ContributionGraph: import("svelte").Component; type ContributionGraph = ReturnType; export default ContributionGraph;