import { VersioningExtension } from '../../extensions'; export interface WorkspaceAppConfig { /** The pnpm filter-compatible package name (auto-resolved from app's package.json if omitted) */ filter?: string; /** The npm script to run for dev mode. Default: "dev" */ command?: string; /** Extra args appended to the dev command (e.g. "-p 3000" or "--port 3001") */ args?: string; /** The npm script to run for build. Default: "build" */ buildCommand?: string; /** Extra args appended to the build command */ buildArgs?: string; /** Optional port number (used for display/documentation only) */ port?: number; /** Whether to include this app in dev:all / build:all. Default: true */ enabled?: boolean; } export interface WorkspaceScriptsConfig { /** Master switch. Default: true */ enabled: boolean; /** Apps included in concurrent dev/build scripts, keyed by workspace-relative path */ apps: Record; /** Generate individual dev: scripts for each app. Default: true */ individualScripts?: boolean; /** Generate build:all and individual build: scripts. Default: true */ buildScripts?: boolean; /** The concurrency runner: "concurrently" or "turbo". Default: "concurrently" */ runner?: 'concurrently' | 'turbo'; /** Auto-detect new apps in the workspace and prompt. Default: true */ autoDetect?: boolean; } export interface GeneratedScripts { /** The full map of script-name → command to write into root package.json */ scripts: Record; /** Human-readable summary of what was generated */ summary: string[]; } export declare function generateWorkspaceScripts(rootDir: string, wsCfg: WorkspaceScriptsConfig): Promise; export declare function syncScriptsToPackageJson(rootDir: string, generated: GeneratedScripts, dryRun?: boolean): Promise<{ added: string[]; updated: string[]; removed: string[]; }>; export declare function detectNewApps(rootDir: string, wsCfg: WorkspaceScriptsConfig): Promise; declare const extension: VersioningExtension; export default extension; //# sourceMappingURL=index.d.ts.map