import type { ErrorInfo } from "react";
export type PortalErrorBoundarySurface = "root" | "screen";
export interface PortalErrorContext {
    boundary: PortalErrorBoundarySurface;
    componentStack?: ErrorInfo["componentStack"];
    pathname?: string;
    activeSlug?: string;
    baseSlug?: string;
    restParams?: string;
    screenTitle?: string;
    navItemSlug?: string;
    screenId?: string | number;
}
export type PortalErrorReporter = (error: Error, context: PortalErrorContext) => void;
//# sourceMappingURL=portal-error-reporter.d.ts.map