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