import { ApiResult, AccountGenerateModel, GetAccountError, AccountOpenModel, PulicKeyWrapper } from '@gny/interfaces';
import { Connection } from '../connection';
export declare class Exchange {
    private base;
    constructor(connection: Connection);
    openAccount(secret: string): Promise<ApiResult<AccountOpenModel, GetAccountError>>;
    generateAccount(): Promise<ApiResult<AccountGenerateModel, "Server Error">>;
    generatePublicKey(secret: string): Promise<ApiResult<PulicKeyWrapper, "Server Error">>;
}
//# sourceMappingURL=exchange.d.ts.map