export type OutputMode = 'inline' | 'file'; export declare const OUTPUT_PARAM_DESCRIPTION = "\"inline\" (default) or \"file\": writes the source under the MCP output dir and returns path, line count and an outline with line ranges. Prefer \"file\" for large objects."; export declare function outputRoot(): string; /** * Resolve `p` (relative to the output root, or absolute) and refuse anything * outside the root. */ export declare function safeOutputPath(p: string): string; /** File name for an ABAP object: lower case, "/" → "#" (abapGit style). */ export declare function sourceFileName(name: string, kind: string, version?: string): string; /** * One entry per block or event, as "start-end LABEL" (1-based lines matching * the SAP editor), e.g. "120-188 METHOD get_data". */ export declare function abapOutline(source: string): { outline: string[]; truncated: boolean; }; export interface WrittenSource { path: string; lines: number; bytes: number; outline: string[]; outline_truncated?: boolean; } /** Write one source under /src[/subdir]/ and describe it. */ export declare function writeSourceFile(fileName: string, source: string, subdir?: string): WrittenSource; export declare function isFileOutput(args: { output?: unknown; } | undefined): boolean; //# sourceMappingURL=sourceOutput.d.ts.map