import { ReportBI } from '@wix/bex-core';
import { SettingsPageState } from './SettingsPageState';
import { FieldValues } from 'react-hook-form';
export interface SettingsPageStateBIReporterParams<T, V extends FieldValues = FieldValues> {
    reportBI: ReportBI;
    settingsPageState: SettingsPageState<T, V>;
}
export declare class SettingsPageStateBIReporter<T, V extends FieldValues> {
    readonly settingsPageState: SettingsPageState<T, V>;
    readonly reportBI: ReportBI;
    appLoaded?: () => void;
    constructor(params: SettingsPageStateBIReporterParams<T, V>);
    _getErrorType(e: any): "Network error" | "Technical issue";
    init(): () => void;
    reportButtonClick({ ctaName, isValid, }: {
        ctaName: string;
        isValid?: boolean;
    }): void;
    reportSaveTryAgain(): void;
    reportSaveError(e: any, startTime: number): void;
    reportOnBeforeUnload(): void;
    reportOnLoadStart(startTime: number): () => void;
    reportOnLoadEnd(endTime: number): void;
    _commonDynamicBiParams(): {
        route: string;
        url: string;
    };
}
//# sourceMappingURL=SettingsPageStateBIReporter.d.ts.map