/** * @template D * @typedef {Record>} DictCidToCarBytes */ /** * encode a set of delegations into a format suitable for a ucanto response. * the ucanto response is likely going to be encoded to CBOR. * encode the set to a dict, where keys are a CIDs of the delegation, and * * @template {Ucanto.Capabilities} Capabilities * @param {Iterable>} delegations * @returns {DictCidToCarBytes>} */ export function encode(delegations: Iterable>): DictCidToCarBytes>; /** * @param {DictCidToCarBytes} encoded * @returns {Iterable} */ export function decode(encoded: DictCidToCarBytes): Iterable; export type DictCidToCarBytes = Record>; import * as Ucanto from '@ucanto/interface'; //# sourceMappingURL=delegations-response.d.ts.map