import { Repository } from 'typeorm';
import { BaseService } from '../../services/base.service';
import { WebhookDetailEntity, WebhookEntity } from 'src/entities/webhook.entity';
import { SendWebhookDTO, WebhookQueryDTO } from 'src/dtos/webhook.dto';
export declare class WebhookService extends BaseService<WebhookEntity, WebhookQueryDTO> {
    repo: Repository<WebhookEntity>;
    repoDetail: Repository<WebhookDetailEntity>;
    static path: string;
    readonly maxRetries = 5;
    constructor(repo: Repository<WebhookEntity>, repoDetail: Repository<WebhookDetailEntity>);
    sendWebhook({ onFail, ...body }: SendWebhookDTO): Promise<void>;
    getById(id: string): Promise<WebhookEntity>;
}
