/** * Replace long base64 image blobs in error text with a placeholder so failures * don't dump megabytes of image data into the model's context. Parses JSON when * possible (recursing into fields), otherwise falls back to a regex sweep. */ export declare function stripBase64FromErrorText(text: string): string; export declare class PixelLabClient { private apiKey; constructor(apiKey: string); private headers; get(path: string): Promise; /** * Fetch a binary response (e.g. a ZIP) and return it base64-encoded along with * its content type and any filename from the Content-Disposition header. * Use this for endpoints that return files rather than JSON. */ getBinary(path: string): Promise<{ data: string; mimeType: string; filename?: string; }>; delete(path: string): Promise; patch(path: string, body: unknown): Promise; post(path: string, body: unknown): Promise; }