import { type TraceIntent } from '../../services/traceConfigGenerator';
import type { CaptureConfigRenderOptions, CapturePresetId } from '../types';
export interface CapturePresetDefinition {
    id: CapturePresetId;
    label: string;
    intent: TraceIntent;
    defaultDurationSeconds: number;
    bufferSizeKb: number;
    atraceCategories: string[];
    ftraceEvents: string[];
    dataSources: string[];
    description: string;
}
export declare const CAPTURE_PRESETS: CapturePresetDefinition[];
export declare function getCapturePreset(id: CapturePresetId): CapturePresetDefinition;
export declare function isCapturePresetId(value: string): value is CapturePresetId;
export declare function listCapturePresets(): CapturePresetDefinition[];
export declare function renderAndroidTraceConfig(opts: CaptureConfigRenderOptions): string;
export declare function readTraceConfigFile(configPath: string, opts?: {
    durationSeconds?: number;
    bufferSizeKb?: number;
}): {
    path: string;
    textproto: string;
    durationMs?: number;
    templated: boolean;
};
export declare function renderTraceConfigTemplate(textproto: string, opts?: {
    durationSeconds?: number;
    bufferSizeKb?: number;
}): {
    textproto: string;
    templated: boolean;
};
export declare function addAtraceCategories(textproto: string, categories: string[]): string;
export declare function calculateCaptureBufferSizeKb(durationSeconds: number, minimumKb?: number): number;
export declare function extractDurationMs(textproto: string): number | undefined;
//# sourceMappingURL=captureConfig.d.ts.map