/** * Pure helpers used by the MCP server. Extracted so they can be unit tested * without booting the stdio transport. */ import type { Transcript } from './types'; /** * Format a transcript for an MCP tool response. Pure function. */ export declare function formatTranscriptForMcp(transcript: Transcript, format: 'text' | 'segments' | 'srt' | 'vtt', includeTimestamps: boolean): string; /** * Build an MCP text response. Pure function. */ export declare function textResponse(text: string, isError?: boolean): { isError?: boolean | undefined; content: { type: "text"; text: string; }[]; }; /** * Normalise an unknown error into a message string. Pure function. */ export declare function errorMessage(error: unknown): string; //# sourceMappingURL=mcp-helpers.d.ts.map