/** * Converts a browser File or Blob to a data URI string. * Returns a string like `data:image/png;base64,iVBOR...` * * Works in browsers only (requires FileReader). * * Usage: * const dataURI = await fileToDataURI(file) * client.run({ seedImage: dataURI, ... }) */ export declare const fileToDataURI: (file: File | Blob) => Promise; /** * Recursively walk a params object (objects, arrays, strings) and replace any * string that points to an existing local file with its raw base64 contents * (no `data:` prefix or MIME type — the server sniffs the real format from the * bytes). * * Node only. In the browser there's no filesystem, so this is a no-op: it * returns the value untouched and never imports `node:fs`. URLs, data URIs, * UUIDs, prompts, existing base64, numbers, and booleans always pass through — * only strings that resolve to a real file on disk are converted. */ export declare const encodeLocalFiles: (value: unknown) => Promise; //# sourceMappingURL=file.d.ts.map