import { type IdeId } from "../constants/index.js"; import { type InstallResult, type WorkspaceConfig } from "../types/index.js"; import { analyzeProject } from "./project-awareness.js"; export declare function getWorkspacePath(cwd?: string): string; export declare function readWorkspace(cwd?: string): Promise; export declare function writeWorkspace(config: WorkspaceConfig, cwd?: string): Promise; export declare function initWorkspace(options?: { ide?: IdeId; packages?: string[]; registry?: string; }, cwd?: string): Promise; export declare function syncWorkspace(options?: { yes?: boolean; dryRun?: boolean; verbose?: boolean; force?: boolean; }, cwd?: string): Promise; export interface BootstrapPlan { analysis: Awaited>; packages: string[]; ide: IdeId; } /** Analyse the project and return recommended packages (no install). */ export declare function planBootstrap(options?: { verbose?: boolean; ide?: IdeId; all?: boolean; }, cwd?: string): Promise; /** Write workspace config and install planned packages. */ export declare function applyBootstrap(plan: BootstrapPlan, options?: { yes?: boolean; dryRun?: boolean; verbose?: boolean; }, cwd?: string): Promise; export declare function bootstrapProject(options?: { yes?: boolean; dryRun?: boolean; verbose?: boolean; ide?: IdeId; all?: boolean; /** When false, skip install (caller already confirmed or user declined). */ install?: boolean; }, cwd?: string): Promise<{ analysis: Awaited>; packages: string[]; results: InstallResult[]; }>; export declare function suggestWorkspacePackages(cwd?: string): Promise; //# sourceMappingURL=workspace-service.d.ts.map