import { BaseContractAPI } from "./contracts/base-contract-api"; export declare class HYCHAINDelegateRegistryAPI extends BaseContractAPI { /** * Get all outgoing delegations for a given address * @param from address of the delegator * @returns Delegations for the given address */ getOutgoingDelegations(from: string): Promise; } export type DelegationType = "NONE" | "ALL" | "CONTRACT" | "ERC721" | "ERC20" | "ERC1155"; export declare const DelegationTypes: Readonly<{ 0: "NONE"; 1: "ALL"; 2: "CONTRACT"; 3: "ERC721"; 4: "ERC20"; 5: "ERC1155"; }>; export interface Delegation { delegationType: DelegationType; to: string; from: string; rights: string; contract: string; tokenId: bigint; amount: bigint; } //# sourceMappingURL=hychain-delegate-registry.d.ts.map