import type { HandlerContext } from '../../../lib/handlers/interfaces'; export declare const TOOL_DEFINITION: { readonly name: "GetTransaction"; readonly available_in: readonly ["onprem", "cloud"]; readonly description: "[read-only] Retrieve ABAP transaction (t-code) details from TSTC / TSTCP — program, screen, and kind (program, parameter transaction with its target t-code and parameters such as an SM30 view, variant transaction). Pass transaction_names for many t-codes in one call."; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly transaction_name: { readonly type: "string"; readonly description: "Name of the ABAP transaction"; }; readonly transaction_names: { readonly type: "array"; readonly items: { readonly type: "string"; }; readonly description: "Several transactions in one call (e.g. [\"VA01\",\"ZMY_TCODE\"])."; }; }; }; }; export interface TransactionInfo { tcode: string; found: boolean; /** program started (TSTC-PGMNA); for a parameter transaction usually empty */ program?: string; screen?: string; /** program = report / dialog / OO entry; parameter = TSTCP '/*' or '/N' start; variant = TSTCP '@' */ kind?: 'program' | 'parameter' | 'variant'; /** parameter transaction: the t-code it calls (e.g. SM30) */ target_tcode?: string; /** parameter transaction: NAME=VALUE pairs (e.g. VIEWNAME, UPDATE) */ parameters?: Record; /** raw TSTCP-PARAM */ param?: string; } /** '/*SM30 VIEWNAME=ZX;UPDATE=X;' → { target: 'SM30', parameters: { VIEWNAME: 'ZX', UPDATE: 'X' } } */ export declare function parseTransactionParam(param: string): { kind: 'parameter' | 'variant' | null; target?: string; parameters?: Record; }; export declare function buildTransactionInfo(names: string[], tstc: Array>, tstcp: Array>): TransactionInfo[]; export declare function handleGetTransaction(context: HandlerContext, args: any): Promise<{ isError: boolean; content: { type: string; text: string; }[]; }>; //# sourceMappingURL=handleGetTransaction.d.ts.map