/// <reference types="node" />
import * as anchor from '@project-serum/anchor';
import { Commitment, Connection, Keypair, PublicKey, Transaction } from "@solana/web3.js";
export declare const SOLANA_CONNECTION: anchor.web3.Connection;
export declare function pda(seeds: (Buffer | Uint8Array)[], pid: anchor.web3.PublicKey): Promise<anchor.web3.PublicKey>;
export declare const discriminatorLen = 8;
export declare const systemProgram: anchor.web3.PublicKey;
export declare const tokenProgram: anchor.web3.PublicKey;
export declare const rent: anchor.web3.PublicKey;
export declare const clock: anchor.web3.PublicKey;
export declare const defaults: {
    systemProgram: anchor.web3.PublicKey;
    tokenProgram: anchor.web3.PublicKey;
    rent: anchor.web3.PublicKey;
    clock: anchor.web3.PublicKey;
};
export declare const commitment: Commitment;
export declare function createAssociatedTokenAccountIfNotExist2(account: string | undefined | null, owner: PublicKey, payer: PublicKey, mintAddress: string, transaction: Transaction, atas?: string[]): Promise<anchor.web3.PublicKey>;
export declare function sendTransaction(connection: Connection, wallet: any, transaction: Transaction, signers?: Array<Keypair>): Promise<any>;
export declare function signTransaction(connection: Connection, wallet: any, transaction: Transaction, signers?: Array<Keypair>): Promise<any>;
export declare function sendSignedTransaction(connection: Connection, signedTransaction: Transaction): Promise<string>;
//# sourceMappingURL=index.d.ts.map