import type { ModuleConfig } from '../core/config/schema.js'; export interface ResolvedModule { readonly key: string; readonly relativePath: string; readonly config: ModuleConfig; readonly importsPipework?: boolean; } export declare function resolveModules(modules: Record | undefined, cwd: string): ResolvedModule[]; export declare function expandGlob(pattern: string, cwd: string): string[]; /** * Every workspace package under `dir`, as paths relative to `dir`, deepest last. * * A package is a directory named by `dir`'s own workspace manifest (pnpm-workspace.yaml, * or `workspaces` in package.json) that carries a package.json. A package that is itself * a workspace root is expanded too — `packages/backend` declaring `app/*` yields * `packages/backend`, `packages/backend/app/api`, and so on. Lint globs and lint targets * are built from this, so a nested workspace is covered rather than silently skipped. */ export declare function discoverWorkspacePackages(dir: string, depth?: number): string[]; //# sourceMappingURL=discover.d.ts.map