import { AxiosError, AxiosPromise } from 'axios';
import { TestFile } from './models';
export declare const getHeaders: ({ clientName, clientVersion, }: {
    clientName: string;
    clientVersion: string;
}) => {
    'KNAPSACK-PRO-CI-PROVIDER'?: string | undefined;
    'KNAPSACK-PRO-CLIENT-NAME': string;
    'KNAPSACK-PRO-CLIENT-VERSION': string;
};
export declare class KnapsackProAPI {
    private readonly api;
    private knapsackProLogger;
    constructor(clientName: string, clientVersion: string);
    fetchTestsFromQueue(allTestFiles: TestFile[], initializeQueue: boolean, attemptConnectToQueue: boolean): AxiosPromise<any>;
    createBuildSubset(recordedTestFiles: TestFile[]): AxiosPromise<any>;
    isExpectedErrorStatus(error: AxiosError): boolean;
    private setUpApiClient;
    private retryCondition;
    private isRetriableRequestError;
    private retryDelay;
}
