UNPKG

@ipld/dag-ucan

Version:
10 lines 607 B
export { code }; export const name: "dag-ucan"; export function from<C extends UCAN.Capabilities>(model: UCAN.FromJWT<C>): UCAN.View<C>; export function decode<C extends UCAN.Capabilities>(bytes: UCAN.ByteView<UCAN.FromJWT<C>>): UCAN.View<C>; export function encode<C extends UCAN.Capabilities>({ jwt }: UCAN.FromJWT<C>): UCAN.ByteView<UCAN.UCAN<C>>; export function format<C extends UCAN.Capabilities>({ jwt }: UCAN.FromJWT<C>): UCAN.JWT<C>; import { code } from "multiformats/dist/src/codecs/raw.js"; import * as UCAN from "../ucan.js"; import { View } from "../view.js"; //# sourceMappingURL=jwt.d.ts.map