import type { ExistingBrowser } from "../../existing-browser";
import type { Test } from "../../../types";
import type { Config } from "../../../config";
type StopSelectivityFn = (test: Test, shouldWrite: boolean) => Promise<void>;
/**
 * Called at the end of testplane run
 * Not using "Promise.all" here because all hashes are already calculated and cached at the start
 */
export declare const updateSelectivityHashes: (config: Config, isRunFailed: boolean) => Promise<void>;
/**
 * Called at the end of testplane run
 */
export declare const clearUnusedSelectivityDumps: (config: Config, isRunFailed: boolean) => Promise<void>;
export declare const startSelectivity: (browser: ExistingBrowser) => Promise<StopSelectivityFn>;
export {};
