import { AgentContext } from '@credo-ts/core'; import { EthereumLedgerService } from './ledger'; export declare class EthereumApi { private agentContext; private ledgerService; constructor(agentContext: AgentContext, ledgerService: EthereumLedgerService); createSchema({ did, schemaName, schema }: { did: string; schemaName: string; schema: object; }): Promise<{ did: string; schemaId: string; schemaTxnHash: any; tnxSchemaId?: undefined; schemaTxhash?: undefined; schemaState?: undefined; } | { tnxSchemaId: string; schemaTxhash: string; schemaState: { state: string; reason: string; }; did?: undefined; schemaId?: undefined; schemaTxnHash?: undefined; }>; getSchemaById(did: string, schemaId: string): Promise; }