/** @packageDocumentation
 * @module Rendering
 */
import { BeEvent } from "@itwin/core-bentley";
import { FrameStats } from "../../render/FrameStats";
/** An event which will be raised when a new frame statistics object is available. The listeners will receive that frame statistics object.
 * @see [[Viewport.enableFrameStatsListener]]
 */
export type OnFrameStatsReadyEvent = BeEvent<(frameStats: Readonly<FrameStats>) => void>;
export declare class FrameStatsCollector {
    private _onFrameStatsReady?;
    private _frameStats;
    private _shouldRecordFrame;
    private static _createStats;
    private _clearStats;
    constructor(onFrameStatsReady?: OnFrameStatsReadyEvent);
    private _begin;
    private _end;
    beginFrame(): void;
    endFrame(wasFrameDrawn?: boolean): void;
    beginTime(entry: keyof FrameStats): void;
    endTime(entry: keyof FrameStats): void;
}
//# sourceMappingURL=FrameStatsCollector.d.ts.map