import type { Workspace } from "../types.js";
export interface WorkspaceIndex {
    /** Resolved workspaces (root package excluded; only package-role workspaces). */
    workspaces: Workspace[];
    /** Build-orchestrator / package-manager signal at root. */
    manifest_tool: Workspace["manifest_tool"];
    /** Names of duplicate/conflicting workspace packages (informational). */
    duplicate_names?: string[];
}
/** Resolve workspace metadata for a monorepo root.
 *  Returns null on any unrecoverable failure (caller treats as flat-repo).
 *  Uses @manypkg/get-packages for package enumeration; layers manual
 *  turbo.json / nx.json detection for the manifest_tool field. */
export declare function resolveWorkspaces(root: string): Promise<WorkspaceIndex | null>;
//# sourceMappingURL=workspace-resolver.d.ts.map