UNPKG

@pod-protocol/cli

Version:

Command-line interface for PoD Protocol (Prompt or Die) AI Agent Communication Protocol

11 lines 663 B
import { PublicKey } from "@solana/web3.js"; import { CommandContext } from "./types.js"; export declare abstract class BaseChannelHandler { protected context: CommandContext; constructor(context: CommandContext); protected createPublicKey(id: string): PublicKey; protected executeWithSpinner<T>(message: string, operation: () => Promise<T>, dryRunData?: Record<string, string>): Promise<T | void>; protected handleError(operation: string, error: any): never; protected showSuccessWithTransaction(spinner: any, message: string, signature: string, additionalData?: Record<string, string>): void; } //# sourceMappingURL=base-handler.d.ts.map