import type { ServerErrorContext } from '../../common/AppToast/ToastMessage'; import type { ConsoleLogEntry } from '../../features/ServerErrorReport/consoleCapture'; import '../../features/ServerErrorReport/consoleCapture'; export type ReportSendContext = { locale?: string; corpusUid?: string; corpusName?: string; }; type ErrorReportPayload = { userMessage: string; errorContext?: ServerErrorContext; sendContext?: ReportSendContext; consoleLogs?: ConsoleLogEntry[]; screenshot?: string | null; }; declare function send({ userMessage, errorContext, sendContext, consoleLogs, screenshot, }: ErrorReportPayload): Promise, {}, any>>; declare const ErrorReportService: { send: typeof send; }; export default ErrorReportService;