import { API } from 'zca-js';
import { IHookFunctions } from 'n8n-workflow';
import { ZaloCredentials } from './types';
export declare class ZaloConnectionManager {
    static parseCredentials(credentials: any): ZaloCredentials;
    static login(hookFunctions: IHookFunctions, cookie: any, imei: string, userAgent: string, selfListen: boolean): Promise<API>;
    static handleError(hookFunctions: IHookFunctions, error: unknown, api: API | undefined): never;
}
