///
import * as IlpPacket from 'ilp-packet';
import { Connection, BuildConnectionOpts } from './connection';
interface ConnectionEvent {
(connection: Connection): void;
}
type ConnectionOptions = Omit;
export declare class ServerConnectionPool {
private serverSecret;
private connectionOpts;
private onConnection;
private activeConnections;
private pendingConnections;
constructor(serverSecret: Buffer, connectionOpts: ConnectionOptions, onConnection: ConnectionEvent);
close(): Promise;
getServerAccount(): string;
getAssetScale(): number;
getAssetCode(): string;
getConnection(id: string, prepare: IlpPacket.IlpPrepare): Promise;
private getSharedSecret;
}
export {};