declare const toPath: (key: string) => string[]; export default toPath;