type Props = { message: string; recievingMessage: string[]; data?: any; attempts?: number; timeout?: number; }; export declare function listen(type: string[], callback: (data?: T) => any): { unsubscribe(): void; }; export declare function sendAndRecieve({ message, recievingMessage, data, attempts, timeout, }: Props): { cancel(): void; promise: Promise; }; export declare function takeScreenshot(): Promise; export declare function detectExtension(): Promise; export type LibConfig = { uiPresent: boolean; uiVersion?: string; mode: 'production' | 'development'; config: { apiUrl: string; apiKey: string; }; }; export declare function Handshaker(): { update: (data: LibConfig) => Promise; }; export {};