import { IErrors, IFileSystem } from "../../common/declarations"; import { IInjector } from "../../common/definitions/yok"; export declare class AndroidLivesyncTool implements IAndroidLivesyncTool { private $androidProcessService; private $errors; private $fs; private $logger; private $mobileHelper; private $injector; static DELETE_FILE_OPERATION: number; static CREATE_FILE_OPERATION: number; static DO_SYNC_OPERATION: number; static ERROR_REPORT: number; static OPERATION_END_REPORT: number; static OPERATION_END_NO_REFRESH_REPORT_CODE: number; static DO_REFRESH: number; static SKIP_REFRESH: number; static APP_IDENTIFIER_MISSING_ERROR: string; static APP_PLATFORMS_PATH_MISSING_ERROR: string; static SOCKET_CONNECTION_ALREADY_EXISTS_ERROR: string; static SOCKET_CONNECTION_TIMED_OUT_ERROR: string; static NO_SOCKET_CONNECTION_AVAILABLE_ERROR: string; protocolVersion: string; private operationPromises; private socketError; private socketConnection; private configuration; private pendingConnectionData; constructor($androidProcessService: Mobile.IAndroidProcessService, $errors: IErrors, $fs: IFileSystem, $logger: ILogger, $mobileHelper: Mobile.IMobileHelper, $injector: IInjector); connect(configuration: IAndroidLivesyncToolConfiguration): Promise; sendFile(filePath: string): Promise; sendFiles(filePaths: string[]): Promise; sendDirectory(directoryPath: string): Promise; removeFile(filePath: string): Promise; removeFiles(files: string[]): Promise; generateOperationIdentifier(): string; isOperationInProgress(operationId: string): boolean; sendDoSyncOperation(options?: IDoSyncOperationOptions): Promise; end(error?: Error): void; hasConnection(): boolean; private sendFileHeader; private sendFileContent; private createSocket; private checkConnectionStatus; private verifyActiveConnection; private handleConnection; private connectEventuallyUntilTimeout; private handleData; private handleSyncEnd; private handleSocketClose; private handleSocketError; private cleanState; private rejectPendingSyncOperations; private getErrorWithMessage; private getFilePathData; private resolveRelativePath; private writeToSocket; }