import { type HexToBytesErrorType } from '../encoding/toBytes.js'; import { type BytesToHexErrorType } from '../encoding/toHex.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 FromBlobsParameters = { /** Blobs to transform to data. */ blobs: blobs | readonly Hex[] | readonly Bytes[]; to?: to | To | undefined; }; export type FromBlobsReturnType = (to extends 'bytes' ? Bytes : 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