import { PluginContext, PerformancePlugin, PerformancePluginConfig, WebVitalsMetrics } from './types';
import { TypedPlugin } from './plugin-types';
export declare class PerformanceMetricsPlugin implements TypedPlugin<'performance'> {
    name: 'performance';
    version: string;
    config: PerformancePluginConfig;
    methods?: PerformancePlugin;
    private context?;
    private marks;
    constructor(config?: PerformancePluginConfig);
    init(context: PluginContext): void;
    private observeWebVitals;
    private formatDuration;
    measure(name: string, duration: number, metadata?: Record<string, any>): void;
    mark(name: string, metadata?: Record<string, any>): void;
    webVitals(metrics: WebVitalsMetrics): void;
    resource(name: string, type: string, duration: number, size?: number): void;
    cache(operation: 'hit' | 'miss' | 'set' | 'delete', key: string, duration?: number): void;
    private formatBytes;
    destroy(): void;
}
export declare function createPerformancePlugin(config?: PerformancePluginConfig): PerformanceMetricsPlugin;
//# sourceMappingURL=performance.d.ts.map