import { SDK as Agent0SDK } from 'agent0-sdk'; import type { IChainProvider, IChainConfig, IWriteOptions, ITransactionResult } from '../../core/interfaces/chain-provider.js'; import type { IAgent, ISearchParams, ISearchResult, ChainType, ChainPrefix } from '../../core/interfaces/agent.js'; import type { IFeedback, IFeedbackInput, IFeedbackQuery, IFeedbackResult } from '../../core/interfaces/feedback.js'; import type { IReputationSummary, ILeaderboardOptions, ILeaderboardResult } from '../../core/interfaces/reputation.js'; export interface IEVMConfig { chainId: number; chainPrefix: ChainPrefix; rpcUrl: string; subgraphUrl?: string; privateKey?: string; } export declare class EVMChainProvider implements IChainProvider { readonly chainType: ChainType; readonly chainPrefix: ChainPrefix; readonly chainId: string; readonly displayName: string; private readonly config; private _ready; private _sdk?; private _subgraph?; constructor(config: IEVMConfig); private getDisplayName; getSdk(): Agent0SDK; private getSubgraph; invalidateSdk(): void; initialize(): Promise; isReady(): boolean; canWrite(): boolean; getConfig(): IChainConfig; getAgent(agentId: string): Promise; agentExists(agentId: string): Promise; searchAgents(params: ISearchParams): Promise; private mapAgentSummary; getFeedback(agentId: string, client: string, index: bigint): Promise; listFeedbacks(query: IFeedbackQuery): Promise; giveFeedback(input: IFeedbackInput, options?: IWriteOptions): Promise; getReputationSummary(agentId: string): Promise; private computeTrustTier; /** * Convert raw value with decimals back to decimal string for SDK encoding * Example: value=9977n, valueDecimals=2 → "99.77" * The SDK's encodeReputationValue() expects decimal strings and will re-encode correctly */ private rawToDecimalString; isIndexerAvailable(): Promise; getLeaderboard(options?: ILeaderboardOptions): Promise; } //# sourceMappingURL=provider.d.ts.map