import type { TBuildOpts } from './lib.types';
export type TRunner = {
    (commands: string[] | Array<(index: number) => any>): Promise<{
        notRetriable: string[];
        retriable: string[];
    }>;
};
declare const getReruner: ({ maxThreads, attemptsCount, longestProcessTime, pollTime, successExitCode, ...rest }?: TBuildOpts) => TRunner;
export type { TBuildOpts } from './lib.types';
export { getReruner };
