/** * Base error class for all router-related errors. * * @public */ export declare class RouterError extends Error { constructor(message: string); } /** * Thrown when a required `path` is missing from a route configuration. * * @public */ export declare class MissingPathError extends RouterError { constructor(); } /** * Thrown when a required `component` is missing from a route configuration. * * @public */ export declare class MissingComponentError extends RouterError { constructor(); } /** * Thrown when navigation targets a path that does not match any registered route. * * @public */ export declare class RouteNotFoundError extends RouterError { constructor(pathname: string); } /** * Thrown when attempting to register a route whose path already exists. * * @public */ export declare class RouteAlreadyExistsError extends RouterError { constructor(pathname: string); } /** * Thrown when a `` element cannot be found in the document. * * @public */ export declare class RouterNotFoundError extends RouterError { constructor(); } //# sourceMappingURL=Errors.d.ts.map