import type { Delegation } from './delegation.js'; import type { CID } from 'multiformats'; import type { InvocationFromOptions, InvocationOptions, InvocationPayload, DecodedEnvelope } from './types.js'; /** * UCAN Invocation */ export declare class Invocation { delegations: Delegation[]; cid: CID; envelope: DecodedEnvelope<'inv'>; payload: InvocationPayload; bytes: Uint8Array; constructor(envelope: DecodedEnvelope<'inv'>, bytes: Uint8Array, cid: CID, delegations: Delegation[]); static from(options: InvocationFromOptions): Promise; static create(options: InvocationOptions): Promise; } export declare function assertProofs(payload: InvocationPayload, proofs: Delegation[]): boolean; //# sourceMappingURL=invocation.d.ts.map