import { PathIndex } from '../helpers/types.js'; export declare function getPackageDirectories(metaDirectory: string, ignoreDirs: string[] | undefined, repoRootOverride?: string): Promise<{ metadataPaths: string[]; ignorePath: string; }>; /** * Resolves matching directories for every name in `directoryNames` in a single shared walk per * package directory, instead of one full walk per metadata type. Preserves the exact per-name * semantics of `getPackageDirectories`/`searchRecursively` — including "don't recurse into an * already-matched directory for that same name" — while allowing a different name's directory to * still be found nested beneath one that already matched another name (since independent * single-target calls, run separately per type today, would find it too). * * With `suffixes`, the same walk also records where those types' files are, wherever they live, the * way SDR resolves a `-meta.xml` file by its suffix rather than its folder: directories directly * holding `.-meta.xml` files, and directories holding decomposed directories (marked * by the disassembler's sidecars). It skips strict-folder types' directories, whose files SDR * resolves as that type, and doesn't descend into decomposed directories. */ export declare function buildPackageDirectoryIndex(directoryNames: Iterable, ignoreDirs: string[] | undefined, repoRootOverride?: string, suffixes?: Iterable): Promise;