Files
med-notes/.pnpm-store/v10/files/2a/d8ec86f18c7a5765429f48b904632fe86f03d898843078d0e0b4abcd963d09e575ae63871e5f1e2e084c62c399e818d3a2f26822e5d3dd7202424c9740943d
2025-05-09 05:30:08 +02:00

21 lines
614 B
Plaintext

import { RouteIds } from './routeInfo.cjs';
import { RegisteredRouter } from './router.cjs';
export type NotFoundError = {
/**
@deprecated
Use `routeId: rootRouteId` instead
*/
global?: boolean;
/**
@private
Do not use this. It's used internally to indicate a path matching error
*/
_global?: boolean;
data?: any;
throw?: boolean;
routeId?: RouteIds<RegisteredRouter['routeTree']>;
headers?: HeadersInit;
};
export declare function notFound(options?: NotFoundError): NotFoundError;
export declare function isNotFound(obj: any): obj is NotFoundError;