import { TransactionInstruction, PublicKey } from '@solana/web3.js';
export interface UpdateAmmConfigArgs {
    param: number;
    value: number;
}
export interface UpdateAmmConfigAccounts {
    /** The amm config owner or admin */
    owner: PublicKey;
    /** Amm config account to be changed */
    ammConfig: PublicKey;
}
export declare const layout: any;
/**
 * Updates the owner of the amm config
 * Must be called by the current owner or admin
 *
 * # Arguments
 *
 * * `ctx`- The context of accounts
 * * `trade_fee_rate`- The new trade fee rate of amm config, be set when `param` is 0
 * * `protocol_fee_rate`- The new protocol fee rate of amm config, be set when `param` is 1
 * * `fund_fee_rate`- The new fund fee rate of amm config, be set when `param` is 2
 * * `new_owner`- The config's new owner, be set when `param` is 3
 * * `new_fund_owner`- The config's new fund owner, be set when `param` is 4
 * * `param`- The vaule can be 0 | 1 | 2 | 3 | 4, otherwise will report a error
 *
 */
export declare function updateAmmConfig(args: UpdateAmmConfigArgs, accounts: UpdateAmmConfigAccounts): TransactionInstruction;
