import { Benchmark, Opts } from "../types.js"; import { IHistoryProvider } from "../history/provider.js"; declare enum CompareWithType { latestCommitInBranch = "latestCommitInBranch", exactCommit = "exactCommit" } export type CompareWith = { type: CompareWithType.latestCommitInBranch; branch: string; before?: string; } | { type: CompareWithType.exactCommit; commitSha: string; }; export declare function resolveCompare(provider: IHistoryProvider, opts: Opts): Promise; export declare function resolvePrevBenchmark(compareWith: CompareWith, provider: IHistoryProvider): Promise; export declare function renderCompareWith(compareWith: CompareWith): string; export declare function resolveCompareWith(opts: Opts): Promise; export {}; //# sourceMappingURL=index.d.ts.map