declare namespace matchdep { type FilterConfig = string | object; type FilterFunction = (pattern: string | string[], config?: FilterConfig) => string[]; } declare const matchdep: { readonly filter: matchdep.FilterFunction; readonly filterDev: matchdep.FilterFunction; readonly filterPeer: matchdep.FilterFunction; readonly filterAll: matchdep.FilterFunction; }; export = matchdep;