import type { AccountMeta, PublicKey, TransactionInstruction } from '@solana/web3.js';
import type { DriftProgram } from '../../config';
export declare function buildPlaceOrdersInstruction(args: {
    program: DriftProgram;
    formattedParams: any[];
    state: PublicKey;
    user: PublicKey;
    userStats: PublicKey;
    authority: PublicKey;
    remainingAccounts: AccountMeta[];
}): Promise<TransactionInstruction>;
export declare function buildCancelOrdersInstruction(args: {
    program: DriftProgram;
    marketType: any;
    marketIndex: number | null;
    direction: any;
    user: PublicKey;
    state: PublicKey;
    userStats: PublicKey;
    authority: PublicKey;
    remainingAccounts: AccountMeta[];
}): Promise<TransactionInstruction>;
