export type PathExclusion = (target: string) => boolean;