export default function route(name?: string): (target: object & { name?: string; }) => void;