export interface StreamOptions { rootDir: string; format: "json" | "jsonl"; overwrite?: boolean | undefined; timeoutMs?: number | undefined; } /** * Streams an HTTP response from YouTrack into a file inside `rootDir`. * * For `format: "jsonl"` the response is parsed incrementally via stream-json * and each top-level array element is written on its own line — chunk * boundaries no longer break parsing. For `format: "json"` the response is * written as-is. Partial files are removed on any error or HTTP failure. */ export declare function streamArrayToFile(url: string, targetRel: string, token: string, options: StreamOptions): Promise; export declare function safeFilename(input: string): string; //# sourceMappingURL=streaming-client.d.ts.map