declare type PathFunc = (...args: any[]) => string; declare type Path = string | PathFunc; export default function getPath(path: Path, ...args: any[]): string; export {};