/** * The library's own code location — the directory this module was loaded * from (`dist/` for the published bundle and its lazy chunks, `src/` in * dev). A frame is "ours" iff its URL starts with this prefix; everything * else on the page is not our bug to report. */ export declare const OWN_CODE_PREFIX: string; /** * Report an error IF it is ours: at least one stack frame must come from * the library's own code location. Exported for the window listeners below * and for direct use by future internal catch sites. */ export declare function reportLibraryError(candidate: unknown, filename?: string): void; /** Idempotent page-level install — the first om-map to connect calls this. */ export declare function installErrorReporting(): void; /** Test hook — resets the per-page dedup/cap state. */ export declare function resetErrorReportingForTests(): void;