/** * An error thrown when duplicate names are detected in a route. * Names must be unique. */ export declare class DuplicateNamesError extends Error { /** * Constructs a new DuplicateNamesError instance with a message indicating the problematic name. * @param name - The name of the name that was duplicated. */ constructor(name: string); }