export interface SpeculativeParams {
    draftMax: number;
    draftMin: number;
    draftPMin: number;
}
export interface RuntimeMetrics {
    acceptanceRate: number;
    rollbackRate: number;
}
export type TuningProfile = 'throughput' | 'latency' | 'stable';
export interface SimulationResult {
    profile: TuningProfile;
    trace: 'stable' | 'volatile' | 'mixed';
    steps: number;
    staticAvgTps: number;
    adaptiveAvgTps: number;
    improvementPct: number;
    finalAdaptiveParams: SpeculativeParams;
}
export interface LiveBenchmarkSample {
    latencyMs: number;
    completionTokens: number;
}
export interface LiveBenchmarkSummary {
    runs: number;
    totalCompletionTokens: number;
    totalLatencyMs: number;
    avgLatencyMs: number;
    tokensPerSecond: number;
}
export declare function summarizeLiveBenchmark(samples: LiveBenchmarkSample[]): LiveBenchmarkSummary;
export declare function recommendAdaptiveFromLive(summary: LiveBenchmarkSummary, profile: TuningProfile, baseParams: SpeculativeParams): {
    inferredMetrics: RuntimeMetrics;
    tunedParams: SpeculativeParams;
};
export declare function tuneSpeculativeParams(base: SpeculativeParams, metrics: RuntimeMetrics, profile: TuningProfile): SpeculativeParams;
export declare function estimateTps(params: SpeculativeParams, acceptanceRate: number): number;
export declare function generateAcceptanceTrace(mode: 'stable' | 'volatile' | 'mixed', steps: number, seed: number): number[];
export declare function runSimulationBenchmark(options?: {
    steps?: number;
    seed?: number;
    trace?: 'stable' | 'volatile' | 'mixed';
    profile?: TuningProfile;
    staticParams?: SpeculativeParams;
}): SimulationResult;
//# sourceMappingURL=speculative-autotune.d.ts.map