import { WebhookService } from './webhook.service';
import { CreateWebhookDto, UpdateWebhookDto } from './dto';
import { Webhook } from './entities/webhook.entity';
export declare class WebhookController {
    private readonly webhookService;
    constructor(webhookService: WebhookService);
    create(sessionId: string, dto: CreateWebhookDto): Promise<Webhook>;
    findBySession(sessionId: string): Promise<Webhook[]>;
    findOne(id: string): Promise<Webhook>;
    update(id: string, dto: UpdateWebhookDto): Promise<Webhook>;
    test(sessionId: string, id: string): Promise<{
        success: boolean;
        statusCode?: number;
        error?: string;
    }>;
    delete(id: string): Promise<void>;
}
