type DiagnosticPresentation = { readonly kind: "inline"; readonly text: string; } | { readonly kind: "stored"; readonly summary: string; /** First error-naming line of the collapsed body, when one exists. */ readonly headline?: string; readonly omittedLines: number; readonly path: string; }; /** * Splits captured output into ordered Workflow SDK and other segments. A * Workflow SDK record runs until the next tagged line, so its field rows and * stack stay with it. Pass `continuesWorkflow` when the previous chunk ended * inside a Workflow SDK record: pipes can split one record across chunks. */ export declare function splitWorkflowLogs(text: string, continuesWorkflow?: boolean): { text: string; workflow: boolean; }[]; /** Chooses whether process diagnostics stay inline or collapse to the local sink. */ export declare function presentDiagnostic(text: string, path: string): DiagnosticPresentation; export declare function formatStoredDiagnostic(presentation: Extract): string; export {};