///
import { Address, BN, web3 } from '@project-serum/anchor';
import { IdlAccounts } from '@project-serum/anchor/dist/cjs/program/namespace/types';
import { BalancerAmm } from '../target/types/balancer_amm';
export declare const DEFAULT_RPC_ENDPOINT = "https://api.devnet.solana.com";
export declare const PROGRAMS: {
rent: web3.PublicKey;
systemProgram: web3.PublicKey;
associatedTokenProgram: web3.PublicKey;
tokenProgram: web3.PublicKey;
};
export declare type BalancerAccountChangeInfo = {
type: 'pool';
address: string;
data: Buffer;
};
declare type MintActive = {
active: {};
};
declare type MintBidOnly = {
bidOnly: {};
};
declare type MintAskOnly = {
askOnly: {};
};
declare type MintPaused = {
paused: {};
};
export declare type MintActionState = MintActive | MintBidOnly | MintAskOnly | MintPaused;
export declare const MintActionStates: Record<'Active' | 'BidOnly' | 'AskOnly' | 'Paused', MintActionState>;
export declare type PoolData = {
[K in keyof IdlAccounts['pool']]: IdlAccounts['pool'][K] extends never ? PoolState : IdlAccounts['pool'][K];
};
export declare type PoolState = Record<'initialized' | 'uninitialized' | 'frozen' | 'deleted', {}>;
export declare type MintConfigs = {
publicKey: Address;
action?: MintActionState;
amountIn: BN;
weight: BN;
};
export {};