import { DataSource } from 'typeorm';
export interface CertRow {
    cert_no: string;
    company_name: string;
    standard: string;
    orginally_reg: string | null;
    issue_date: string | null;
    expire_date: string | null;
    status: string;
    certType?: string;
}
export interface Bucket {
    key: 'recert' | 'surv_11' | 'surv_1';
    label: string;
    rows: CertRow[];
    count: number;
}
export interface ReportData {
    year: number;
    month: number;
    monthName: string;
    buckets: Bucket[];
    total: number;
}
export type ReportType = 'all' | 'recert' | 'surv_1' | 'surv_11';
export declare class ReportService {
    private readonly ds;
    private readonly logger;
    constructor(ds: DataSource);
    private monthWindow;
    private fetchRows;
    buildReport(year: number, month: number, type?: ReportType): Promise<ReportData>;
}
