import { type SizeErrorType } from '../data/size.js'; import { type HexToBytesErrorType } from '../encoding/toBytes.js'; import { type BytesToHexErrorType } from '../encoding/toHex.js'; import { type BlobSizeTooLargeErrorType, type EmptyBlobErrorType } from '../errors/blob.js'; import type { ErrorType } from '../errors/utils.js'; import type { Bytes, Hex } from '../types/data.js'; import { type CreateCursorErrorType } from '../utils/cursor.js'; type To = 'hex' | 'bytes'; export type ToBlobsParameters = { data: data | Hex | Bytes; to?: to | To | undefined; }; export type ToBlobsReturnType = (to extends 'bytes' ? readonly Bytes[] : never) | (to extends 'hex' ? readonly Hex[] : never); export type ToBlobsErrorType = BlobSizeTooLargeErrorType | BytesToHexErrorType | CreateCursorErrorType | EmptyBlobErrorType | HexToBytesErrorType | SizeErrorType | ErrorType; export declare function toBlobs(parameters: ToBlobsParameters): ToBlobsReturnType; export {}; //# sourceMappingURL=toBlobs.d.ts.map