export type ResponsePart = "full" | "headers" | "body"; export interface OutputSelection { topLines?: number | undefined; bottomLines?: number | undefined; maxOutputBytes?: number | undefined; } /** Apply model-requested line windows, then a strict UTF-8 byte ceiling. */ export declare function selectOutput(text: string, selection: OutputSelection): string;