import { PublicKey } from '@solana/web3.js';
import { BaseAPI } from '../../api/generated/default';
import * as runtime from '../../api/generated/default/runtime';
import { RelayRequest } from './types';
/**
 * Client for the Solana Relay Plugin on Discovery.
 */
export declare class SolanaRelay extends BaseAPI {
    /**
     * Public key of the currently selected transaction fee payer
     * from the selected Discovery Node.
     */
    private feePayer;
    /**
     * Gets a random fee payer public key from the selected discovery node's
     * Solana relay plugin.
     *
     * Used when relay transactions don't specify a fee payer override.
     */
    getFeePayer(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PublicKey>;
    /**
     * Relays a transaction to the selected discovery node's Solana relay plugin.
     */
    relay(params: RelayRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
        signature: string;
    }>;
}
