import type { InternalResource, ProtocolHandler, ResolveContext } from "./types"; export declare class InternalUrlRouter { #private; constructor(); /** Process-global router instance. */ static instance(): InternalUrlRouter; /** Reset the global instance in tests. */ static resetForTests(): void; register(handler: ProtocolHandler): void; unregister(scheme: string): boolean; getHandler(scheme: string): ProtocolHandler | undefined; canHandle(input: string): boolean; resolve(input: string, context?: ResolveContext): Promise; }