import type { AgentConfig } from '../../../../agent/AgentConfig'; import type * as Indy from 'indy-sdk'; export interface TransactionAuthorAgreement { version: `${number}.${number}` | `${number}`; acceptanceMechanism: string; } export interface IndyPoolConfig { genesisPath?: string; genesisTransactions?: string; id: string; isProduction: boolean; transactionAuthorAgreement?: TransactionAuthorAgreement; } export declare class IndyPool { private indy; private logger; private fileSystem; private poolConfig; private _poolHandle?; private poolConnected?; authorAgreement?: AuthorAgreement | null; constructor(agentConfig: AgentConfig, poolConfig: IndyPoolConfig); get id(): string; get config(): IndyPoolConfig; close(): Promise; delete(): Promise; connect(): Promise; private connectToLedger; private submitRequest; submitReadRequest(request: Indy.LedgerRequest): Promise; submitWriteRequest(request: Indy.LedgerRequest): Promise; private getPoolHandle; private getGenesisPath; } export interface AuthorAgreement { digest: string; version: string; text: string; ratification_ts: number; acceptanceMechanisms: AcceptanceMechanisms; } export interface AcceptanceMechanisms { aml: Record; amlContext: string; version: string; }