import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { z } from 'zod'; import { CplaceApiClient } from '../api.js'; export declare const SOLUTION_PACKAGE_TOOL_DEFINITIONS: { readonly cplace_list_solution_packages: { readonly description: "List all solution packages with summary information including latest version, latest design, and counts of versions, designs, and installations. Requires designer or manager role."; readonly inputSchema: {}; readonly annotations: { readonly title: "List Solution Packages"; }; }; readonly cplace_get_solution_package: { readonly description: "Get full details for a solution package including all versions, designs, and installations."; readonly inputSchema: { readonly packageId: z.ZodString; }; readonly annotations: { readonly title: "Get Solution Package Details"; }; }; readonly cplace_get_solution_package_version: { readonly description: "Get details for a solution package version including slots, publish date, changelog, and parent package reference."; readonly inputSchema: { readonly versionId: z.ZodString; }; readonly annotations: { readonly title: "Get Solution Package Version"; }; }; readonly cplace_get_solution_package_installation: { readonly description: "Get details for a solution package installation including workspace slot assignments, available upgrades, and modification count."; readonly inputSchema: { readonly installationId: z.ZodString; }; readonly annotations: { readonly title: "Get Solution Package Installation"; }; }; readonly cplace_install_solution_package: { readonly description: "Install a solution package version into workspaces. Each version slot must be mapped to either an existing workspace or a new workspace to be created. Returns a jobId — use cplace_get_job to poll for completion."; readonly inputSchema: { readonly versionId: z.ZodString; readonly slotMappings: z.ZodArray; createWorkspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { slotInternalName: string; targetWorkspaceId?: string | undefined; createWorkspace?: boolean | undefined; }, { slotInternalName: string; targetWorkspaceId?: string | undefined; createWorkspace?: boolean | undefined; }>, "many">; readonly pageMatchingStrategy: z.ZodOptional>; }; readonly annotations: { readonly title: "Install Solution Package"; }; }; readonly cplace_upgrade_solution_package_installation: { readonly description: "Upgrade an existing solution package installation to a newer version. Only new slots (not present in the current installation) require mappings. Returns a jobId — use cplace_get_job to poll for completion. The installation is switched to the new version before its content is imported, so a failed job can leave it reporting the new version with only part of the content imported; a returned jobId is not evidence of a successful upgrade."; readonly inputSchema: { readonly installationId: z.ZodString; readonly newVersionId: z.ZodString; readonly pageMatchingStrategy: z.ZodOptional>; readonly forceMode: z.ZodOptional; readonly newSlotMappings: z.ZodOptional; createWorkspace: z.ZodOptional; }, "strip", z.ZodTypeAny, { slotInternalName: string; targetWorkspaceId?: string | undefined; createWorkspace?: boolean | undefined; }, { slotInternalName: string; targetWorkspaceId?: string | undefined; createWorkspace?: boolean | undefined; }>, "many">>; }; readonly annotations: { readonly title: "Upgrade Solution Package Installation"; }; }; readonly cplace_publish_solution_package_version: { readonly description: "Publish a solution package design as a new version. Validates the design and starts a background publish job. Returns a jobId (and optional warnings) — use cplace_get_job to poll for completion. Requires designer role."; readonly inputSchema: { readonly designId: z.ZodString; readonly versionNumber: z.ZodString; readonly changelog: z.ZodOptional; readonly shortname: z.ZodOptional; }; readonly annotations: { readonly title: "Publish Solution Package Version"; }; }; }; export declare function registerSolutionPackageTools(server: McpServer, client: CplaceApiClient): void; //# sourceMappingURL=solution-packages.d.ts.map