import { ProviderClass } from '@builderbot/bot';
import express from 'express';
import { EventEmitter } from 'events';
export declare class WahaProvider extends ProviderClass {
    private config;
    vendor: EventEmitter;
    globalVendorArgs: any;
    vendorInitialized: boolean;
    constructor(config: any);
    initVendor(): Promise<boolean>;
    private startSession;
    initWebhook(app: express.Application): void;
    busEvents(): {
        event: string;
        func: Function;
    }[];
    private handleMessage;
    sendMessage(to: string, message: string, extraOptions?: any): Promise<any>;
    sendLocation(to: string, latitude: number, longitude: number, title?: string, replyTo?: string | null): Promise<any>;
    saveFile(ctx: any, options: any): Promise<string>;
    beforeHttpServerInit(): void;
    afterHttpServerInit(): void;
}
