import { Reporter, TestResult, FullResult, TestCase } from '@playwright/test/reporter';
interface SlackReporterOptions {
    webhookUrl: string;
    buildId?: string;
    branchName?: string;
    htmlReportUrl?: string;
}
declare class SlackReporter implements Reporter {
    private webhookUrl;
    private buildId?;
    private branchName?;
    private htmlReportUrl?;
    private passed;
    private failed;
    private skipped;
    constructor(options: SlackReporterOptions);
    onTestEnd(_: TestCase, result: TestResult): void;
    onEnd(result: FullResult): Promise<void>;
}
export default SlackReporter;
//# sourceMappingURL=index.d.ts.map