import { AgentPubKey } from "../types.js"; export declare type CapSecret = Uint8Array; export interface CapClaim { tag: string; grantor: AgentPubKey; secret: CapSecret; } export interface ZomeCallCapGrant { tag: string; access: CapAccess; functions: Array<{ zome: string; fn_name: string; }>; } export declare type CapAccess = "Unrestricted" | { Transferable: { secret: CapSecret; }; } | { Assigned: { secret: CapSecret; assignees: AgentPubKey[]; }; }; export declare type CapGrant = { ChainAuthor: AgentPubKey; } | { RemoteAgent: ZomeCallCapGrant; };