/** Create a single cyberlink between two CIDs */ export declare function createCyberlink(fromCid: string, toCid: string): Promise<{ neuron: string; from: string; to: string; txHash: string; height: number; gasUsed: bigint; gasWanted: bigint; code: number; }>; /** Create multiple cyberlinks in a single transaction */ export declare function createCyberlinks(links: Array<{ from: string; to: string; }>): Promise<{ neuron: string; linkCount: number; txHash: string; height: number; gasUsed: bigint; gasWanted: bigint; code: number; }>; /** * Investmint: convert HYDROGEN into millivolt or milliampere for a time period. * Resource is either "millivolt" or "milliampere". * Length is the number of base periods (each period = ~5 days / 100800 blocks). */ export declare function investmint(amount: string, resource: string, length: number): Promise<{ neuron: string; amount: string; resource: string; length: number; txHash: string; height: number; gasUsed: bigint; gasWanted: bigint; code: number; }>; /** Pin text content to IPFS and return the CID */ export declare function pinContent(content: string): Promise<{ cid: string; size: number; }>; /** * Compound operation: pin content to IPFS then create a cyberlink. * Links fromCid → new content CID (or new content CID → toCid, or both). */ export declare function createKnowledge(content: string, fromCid?: string, toCid?: string): Promise<{ cid: string; links: never[]; note: string; } | { cid: string; neuron: string; links: { from: string; to: string; }[]; txHash: string; height: number; gasUsed: bigint; gasWanted: bigint; code: number; note?: undefined; }>;