/** * GetSmartFormLayout — read-only: pages and window positions of a SmartForm. * * Source: the Form Builder object model, read on the SAP side by * ZMCP_SSF_LAYOUT (CL_SSF_FB_SMART_FORM->LOAD in display mode, page tree, * window node output attributes). Only layout leaves SAP: no text node * contents, program lines, global data or form interface. * * Backend: ZMCP_ADT_DISPATCH action SSF_LAYOUT through callDispatch, so it * runs on the OData backend (BASIS 7.40) and on SOAP RFC (BASIS 7.31) alike. * Coordinates come back raw with their unit and are converted to mm here * (LN / CH through the page variant's LPI / CPI). * * Companion ABAP sources: sc4sap/abap/zmcp_ssf_layout.abap and * sc4sap/abap/zmcp_adt_dispatch_ssf_layout_branch.abap */ import type { HandlerContext } from '../../../lib/handlers/interfaces'; export declare const TOOL_DEFINITION: { readonly name: "GetSmartFormLayout"; readonly available_in: readonly ["onprem", "legacy"]; readonly description: "[read-only] Read the page and window layout of a SmartForm (active version; a never-activated form is read from its saved version, then `active` is false): per page the format, orientation, next page, CPI / LPI and style, and per window its type (MAIN / SECONDARY / ...), position and size as stored (value + unit) and converted to millimetres. Layout only: no texts, code or form interface. Needs the ZMCP_SSF_LAYOUT FM and the SSF_LAYOUT dispatcher action."; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly form_name: { readonly type: "string"; readonly description: "SmartForm name (e.g. \"ZMY_FORM\")."; }; readonly language: { readonly type: "string"; readonly description: "Form language: 1-char SAP key (e.g. \"E\", \"3\") or 2-letter ISO code (e.g. \"EN\", \"KO\"). Default: the master language of the form."; }; }; readonly required: readonly ["form_name"]; }; }; export declare function handleGetSmartFormLayout(context: HandlerContext, args: { form_name: string; language?: string; }): Promise<{ isError: boolean; content: { type: string; text: any; }[]; }>; //# sourceMappingURL=handleGetSmartFormLayout.d.ts.map