import type { PolyrepoManifest } from './polyrepo-types.js'; export interface ScanOptions { /** Explicit list of child directory names (relative to root). When * provided, the scanner uses these instead of auto-discovery. * Matches the `peaks polyrepo init --children ` shape. */ readonly explicitChildren?: readonly string[]; } /** Walk the parent root at depth 1 and return discovered children. */ export declare function scanPolyrepo(root: string, opts?: ScanOptions): PolyrepoManifest;