/*!
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.
*/
import { Api } from "./Api";
export declare abstract class BaseNative {
    protected _api: Api | null;
    constructor(api: Api);
    get api(): Api;
    protected abstract newApi(connectionPtr: number, ...apisPtrs: number[]): Promise<number>;
    abstract deleteApi(ptr: number): Promise<void>;
    protected deleteApiRef(): void;
    protected runAsync<T>(func: (taskId: number) => void): Promise<T>;
}
