import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { z } from 'zod'; import { CplaceApiClient } from '../api.js'; export declare const TYPE_LAYOUT_TOOL_DEFINITIONS: { readonly cplace_list_type_alternative_layouts: { readonly description: "Retrieves a comprehensive list of all available layouts for a specific type definition, including the default layout and all alternative layouts, along with usage statistics. Note: alternative layouts are type-scoped — they live on the type and are shared by all pages of that type; there is no page-scoped alternative layout."; readonly inputSchema: { readonly workspaceId: z.ZodString; readonly typeInternalName: z.ZodString; }; readonly annotations: { readonly title: "List Type Alternative Layouts"; }; }; readonly cplace_create_type_alternative_layout: { readonly description: "Creates a new alternative layout for a specific type definition. Alternative layouts allow types to support different presentation modes or views while maintaining the same underlying data structure. Each alternative layout has its own internal name, localized display names, and optional icon. ⚠️ Type-scoped: this layout lives on the type and is shared by every page of that type. Alternative layouts cannot be scoped to a single page — the Alternative Layouts as Tabs widget (even in script mode) can only filter which type-level layouts show per page, never create a per-page-unique tab set. A surface that needs its own view switcher needs its own type."; readonly inputSchema: { readonly workspaceId: z.ZodString; readonly typeInternalName: z.ZodString; readonly layoutInternalName: z.ZodString; readonly localizedNames: z.ZodOptional>; readonly iconName: z.ZodOptional; }; readonly annotations: { readonly title: "Create Type Alternative Layout"; }; }; readonly cplace_delete_type_alternative_layout: { readonly description: "Delete an alternative layout from a type definition. Pages currently using this layout will fall back to the default layout. Note: the layout is removed from the type, so it disappears for every page of that type (alternative layouts are type-scoped)."; readonly inputSchema: { readonly workspaceId: z.ZodString; readonly typeInternalName: z.ZodString; readonly layoutInternalName: z.ZodString; }; readonly annotations: { readonly title: "Delete Type Alternative Layout"; }; }; }; export declare function registerTypeLayoutTools(server: McpServer, client: CplaceApiClient): void; //# sourceMappingURL=type-layouts.d.ts.map