export interface BuildResult {
    project: string;
    branch: string;
    buildId: string;
    status: 'success' | 'failure' | 'cancelled';
    duration: number;
    stage: string;
    commitHash: string;
    commitMessage: string;
    author: string;
    timestamp: string;
    logSnippet?: string;
    ciPlatform: 'github-actions' | 'gitlab-ci' | 'jenkins' | 'circleci' | 'local';
}
export interface TestResult {
    project: string;
    branch: string;
    buildId: string;
    totalTests: number;
    passed: number;
    failed: number;
    skipped: number;
    duration: number;
    failedTests: string[];
    coverage?: number;
    timestamp: string;
}
export interface DeployResult {
    project: string;
    environment: 'staging' | 'production' | 'preview' | 'local';
    status: 'success' | 'failed' | 'rolled_back';
    version: string;
    duration: number;
    timestamp: string;
}
export interface FailurePattern {
    pattern: string;
    count: number;
    firstSeen: string;
    lastSeen: string;
    affectedBranches: string[];
    severity: 'critical' | 'warning' | 'info';
    suggestion: string;
}
export interface CISummary {
    totalBuilds: number;
    successRate: number;
    avgBuildDuration: number;
    totalTests: number;
    testPassRate: number;
    deployments: number;
    deploySuccessRate: number;
    failurePatterns: FailurePattern[];
}
export declare function reportCIBuild(result: BuildResult): number;
export declare function reportCITest(result: TestResult): number;
export declare function reportCIDeploy(result: DeployResult): number;
export declare function getCISummary(project: string, days?: number): CISummary;
export declare function detectCIFailurePatterns(project: string, days?: number): FailurePattern[];
export declare function getBuildTrend(project: string, days?: number): Array<{
    date: string;
    builds: number;
    successes: number;
    failures: number;
    successRate: number;
}>;
export declare function formatCISummary(summary: CISummary): string;
//# sourceMappingURL=ci-reporter.d.ts.map