/*! PrivMX Web Endpoint. Copyright © 2024 Simplito sp. z o.o. This file is part of the PrivMX Platform (https://privmx.dev). This software is Licensed under the PrivMX Free License. See the License for the specific language governing permissions and limitations under the License. */ export declare class Api { lib: any; private promises; private taskIdGenerator; constructor(lib: any); runAsync(func: (taskId: number) => void): Promise; private resolveResult; private generateId; private setResultsCallback; private toNativeError; private isRawCppError; }