/** * @file useInkd.ts * @description React hook for the Inkd Protocol client. */ import { InkdClient } from "../InkdClient"; import type { InkdClientConfig, InkdTokenData, Inscription, TransactionResult, InscribeOptions, InscribeResult, ProtocolStats, Address } from "../types"; import type { PublicClient, WalletClient, Account, Chain, Transport } from "viem"; interface UseInkdReturn { client: InkdClient; connected: boolean; connect: (walletClient: WalletClient, publicClient: PublicClient) => void; connectArweave: (privateKey: string) => Promise; mintToken: (quantity?: number) => Promise; inscribe: (tokenId: bigint, data: Buffer | Uint8Array | string, options?: InscribeOptions) => Promise; getToken: (tokenId: bigint) => Promise; getInscriptions: (tokenId: bigint) => Promise; hasInkdToken: (address: Address) => Promise; getStats: () => Promise; error: Error | null; } /** Main React hook for Inkd Protocol interaction. */ export declare function useInkd(config: InkdClientConfig): UseInkdReturn; export {}; //# sourceMappingURL=useInkd.d.ts.map