import { Router } from 'express';
import { PlatformConfig } from '../config';
import { SendResult, ChatInfo } from '../platform-registry';
import { BasePlatformAdapter } from './base';
export declare class WebhookAdapter extends BasePlatformAdapter {
    private _router;
    private _port;
    constructor(config: PlatformConfig);
    getRouter(): Router;
    private _setupRoutes;
    connect(): Promise<boolean>;
    disconnect(): Promise<void>;
    send(chatId: string, content: string, replyTo?: string): Promise<SendResult>;
    getChatInfo(chatId: string): Promise<ChatInfo>;
}
//# sourceMappingURL=webhook.d.ts.map