import type { Build } from "../..";
export type BuildStatsArgs = {
    buildStats: boolean;
};
export type BuildStatsConfig = {
    buildStats: boolean;
};
export declare class BuildStats {
    private startedAt;
    private firstEntryAt;
    private lastEntryAt;
    private entryCount;
    private entriesByExtension;
    private entriesByLang;
    private headings;
    private contentBytes;
    private warningsByCode;
    private errorsByCode;
    apply(program: Build): void;
    private reset;
    private bucketByCode;
}
export declare function collectFeatures(config: Hash<unknown>): string[];
