import type { Reporter, FullConfig, Suite, TestCase, TestResult, FullResult } from "@playwright/test/reporter";
import { WebhookType } from "./models";
export interface MsTeamsReporterOptions {
    webhookUrl?: string;
    webhookType?: WebhookType;
    title?: string;
    linkToResultsUrl?: string | (() => string);
    linkToResultsText?: string;
    linkUrlOnFailure?: string | (() => string);
    linkTextOnFailure?: string;
    notifyOnSuccess?: boolean;
    mentionOnFailure?: string;
    mentionOnFailureText?: string;
    enableEmoji?: boolean;
    quiet?: boolean;
    debug?: boolean;
    shouldRun?: ((suite: Suite) => boolean);
}
export default class MsTeamsReporter implements Reporter {
    private options;
    private suite;
    constructor(options: MsTeamsReporterOptions);
    onBegin(_: FullConfig, suite: Suite): void;
    onStdOut(chunk: string | Buffer, _: void | TestCase, __: void | TestResult): void;
    onStdErr(chunk: string | Buffer, _: TestCase, __: TestResult): void;
    onEnd(_: FullResult): Promise<void>;
}
