///
import { DragData, UniDriver, UniDriverClass } from './UniDriver';
export type ComponentDriverArgs = {
testID: string;
Driver?: UniDriverClass;
component: JSX.Element;
};
/**
* Please run clear after each test
*/
export declare class ComponentDriver {
protected readonly testID: string;
protected readonly uniDriver: UniDriver;
static uniDrivers: {
[key: string]: UniDriver;
};
static clear(): void;
constructor({ testID, component, Driver }: ComponentDriverArgs);
exists: () => Promise;
getElement: () => Promise;
press: () => Promise;
drag: (data: DragData | DragData[]) => Promise;
focus: () => Promise;
blur: () => Promise;
protected getByTestId: (testID: string) => Promise;
getElementProps: () => Promise;
getPropsByTestId: (testID: string) => Promise;
selectorByText: (text: string) => Promise;
getByDisplayValue: (text: string) => Promise;
}