import type { ErrorType } from './OldReactDevOverlay';
export declare const usePagesReactDevOverlay: (preventDisplay: ErrorType[] | undefined) => {
    isMounted: boolean;
    displayPrevented: boolean;
    hasBuildError: boolean;
    hasRuntimeErrors: boolean;
    state: import("../shared").OverlayState;
    onComponentError: (_error: Error, _componentStack: string | null) => void;
};
