import type { CResult, OutputKind } from '../../types.mts'; import type { SocketSdkSuccessResult } from '@socketsecurity/sdk'; export type OutputAnalyticsConfig = { filepath: string; outputKind: OutputKind; repo: string; scope: string; time: number; }; export declare function outputAnalytics(result: CResult['data'] | SocketSdkSuccessResult<'getRepoAnalytics'>['data']>, { filepath, outputKind, repo, scope, time }: OutputAnalyticsConfig): Promise; export interface FormattedData { top_five_alert_types: Record; total_critical_alerts: Record; total_high_alerts: Record; total_medium_alerts: Record; total_low_alerts: Record; total_critical_added: Record; total_medium_added: Record; total_low_added: Record; total_high_added: Record; total_critical_prevented: Record; total_high_prevented: Record; total_medium_prevented: Record; total_low_prevented: Record; } export declare function renderMarkdown(data: FormattedData, days: number, repoSlug: string): string; export declare function formatDataRepo(data: SocketSdkSuccessResult<'getRepoAnalytics'>['data']): FormattedData; export declare function formatDataOrg(data: SocketSdkSuccessResult<'getOrgAnalytics'>['data']): FormattedData; //# sourceMappingURL=output-analytics.d.mts.map