import type { ErrorType } from '../../errors/utils.js'; import type { ByteArray, Hex } from '../../types/misc.js'; import { type CreateCursorErrorType } from '../cursor.js'; import { type HexToBytesErrorType } from '../encoding/toBytes.js'; import { type BytesToHexErrorType } from '../encoding/toHex.js'; type To = 'hex' | 'bytes'; export type FromBlobsParameters = { /** Blobs to transform to data. */ blobs: blobs | readonly Hex[] | readonly ByteArray[]; to?: to | To | undefined; }; export type FromBlobsReturnType = (to extends 'bytes' ? ByteArray : never) | (to extends 'hex' ? Hex : never); export type FromBlobsErrorType = BytesToHexErrorType | CreateCursorErrorType | HexToBytesErrorType | ErrorType; export declare function fromBlobs(parameters: FromBlobsParameters): FromBlobsReturnType; export {}; //# sourceMappingURL=fromBlobs.d.ts.map