/**
 * Decode a CAR Block (bytes) into a multiformats Block.
 * Decoding allows us to find out if that block links to any others by CID.
 * @param {import('@ipld/car/api').Block} block
 * @param {object} opts
 * @param {BlockDecoders} [opts.codecs]
 */
export function maybeDecode({ cid, bytes }: import('@ipld/car/api').Block, { codecs }?: {
    codecs?: BlockDecoders | undefined;
}): import("multiformats/dist/types/src").BlockView<any, any, number, import("multiformats/dist/types/src").Version> | undefined;
export type BlockDecoders = Record<number, import('multiformats/codecs/interface').BlockDecoder<unknown, unknown>>;
//# sourceMappingURL=decode.d.ts.map