import { type XRouteConstructor } from './XRoute'; import type { z } from 'zod'; export * from 'zod'; export declare class XRouteSchema, SCHEMA extends RouteSchema = RouteSchema> { config: CONSTRUCTOR; schema: SCHEMA; constructor(config: CONSTRUCTOR, schema: SCHEMA); readonly TYPE: { pathname: z.infer>; search: z.infer>; hash?: z.infer>; }; } export interface RouteSchema, SEARCH extends z.AnyZodObject = z.ZodObject<{}>, HASH extends undefined | z.ZodType = undefined> { pathname: PATH; search: SEARCH; hash: HASH extends undefined ? z.ZodType : HASH; }