import { NotifProviderRoot } from "./notifProviderRoot.js";
import { NotifMessage, NotifSeverity } from "./index.js";
export declare class ApiProvider extends NotifProviderRoot {
    protected apiUrl: string | null;
    payload: ApiNotifMessage;
    payloadFormatted: any;
    protected metricsApiUrl: string | null;
    metricsPayload: string;
    getLabel(): string;
    isApplicableForNotif(notifMessage: NotifMessage): boolean;
    isUserNotifProvider(): boolean;
    postNotification(notifMessage: NotifMessage): Promise<void>;
    private buildPayload;
    private formatPayload;
    private formatPayloadLoki;
    private sendToApi;
    private buildMetricsPayload;
    private sendToMetricsApi;
}
export interface ApiNotifMessage {
    source: string;
    type: string;
    severity: NotifSeverity;
    orgIdentifier: string;
    gitIdentifier: string;
    data: any;
}
