export declare class ErrorReporter { report(error: unknown, opts: { path?: string; text: string; }): string; }