/opt/canhelp/node_modules/next/dist/next-devtools/userspace/app
Edit: /opt/canhelp/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.d.ts (1085B)
import type { ReactNode } from 'react';
export type SegmentBoundaryType = 'not-found' | 'error' | 'loading' | 'global-error';
export declare const SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE = "NEXT_DEVTOOLS_SIMULATED_ERROR";
export type SegmentNodeState = {
type: string;
pagePath: string;
boundaryType: string | null;
setBoundaryType: (type: SegmentBoundaryType | null) => void;
};
export declare function SegmentViewStateNode({ page }: {
page: string;
}): null;
export declare function SegmentBoundaryTriggerNode(): import("react").ReactElement
> | null;
export declare function SegmentViewNode({ type, pagePath, children, }: {
type: string;
pagePath: string;
children?: ReactNode;
}): React.ReactNode;
export declare function SegmentStateProvider({ children }: {
children: ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export declare function useSegmentState(): {
boundaryType: SegmentBoundaryType | null;
setBoundaryType: (type: SegmentBoundaryType | null) => void;
};