| 1 | export interface ContributionReport { |
| 2 | report: string; |
| 3 | synthetic: boolean; |
| 4 | totals: { first_public_issue_authors: number; first_merged_pr_authors: number }; |
| 5 | input_counts: { public_issues: number; merged_prs: number; excluded_bot_or_deleted_records: number }; |
| 6 | days: Array<{ day: string; first_public_issue_authors: number; first_merged_pr_authors: number }>; |
| 7 | caveats: string[]; |
| 8 | } |
| 9 | export function contributionCohorts(snapshot: unknown, options?: { from?: string; to?: string }): ContributionReport; |
| 10 | export function exportPublicHistory(options?: { get?: (endpoint: string) => Promise<unknown>; maxPages?: number }): Promise<unknown>; |
| 11 | export function main(argv?: string[]): Promise<ContributionReport>; |
| 12 |