/** * visus_read_csv MCP Tool * * Reads and sanitizes a CSV or TSV file from a local path or URL. * All cell content passes through the IPI injection scanner before being returned. * * CRITICAL: ALL content MUST pass through the sanitizer. This cannot be bypassed. * * Pipeline order: * 1. Fetch file (local or remote) * 2. Parse CSV/TSV with papaparse * 3. IPI threat detection on flattened cell content * 4. Sanitization (injection detection + PII redaction) * 5. Token metrics header */ import type { VisusReadCsvInput, VisusReadCsvOutput, Result } from '../types.js'; /** * Fetch content from a local file path or remote URL */ declare function fetchSource(source: string): Promise>; /** * Format parsed rows as a markdown table */ declare function formatAsTable(rows: Record[], headers: string[]): string; /** * visus_read_csv tool implementation * * @param input Tool input parameters * @returns Sanitized CSV content with metadata */ export declare function visusReadCsv(input: VisusReadCsvInput): Promise>; export declare const visusReadCsvToolDefinition: { name: string; title: string; description: string; inputSchema: { type: "object"; properties: { source: { type: string; description: string; }; format: { type: string; enum: string[]; description: string; default: string; }; delimiter: { type: string; description: string; }; }; required: readonly ["source"]; }; readOnlyHint: boolean; destructiveHint: boolean; idempotentHint: boolean; openWorldHint: boolean; }; export { fetchSource, formatAsTable }; //# sourceMappingURL=visus_read_csv.d.ts.map