declare let base: string declare let assets: string /** * Resolve a pathname by prepending the base path, or resolve a route ID with params. */ export declare const resolve: ( ...args: [pathname: string] | [routeId: string, params: Record] ) => string interface MatchResult { id: string params: Record } /** * Match a URL to a route ID. * Very simple implementation: converts routeId like /blog/[slug] to regex. */ export declare const match: (url: string | URL) => Promise /** * Asset helper: prefix with assets or base. */ export declare const asset: (file: string) => string /** * Expose base and assets for testing/configuration */ export { base, assets }