import { Program, web3 } from '@project-serum/anchor';
import { Auction } from './idl/auction';
declare type ReturnAnchorProgram = (programId: web3.PublicKey, connection: web3.Connection) => Program<Auction>;
export declare const returnAnchorProgram: ReturnAnchorProgram;
export declare const anchorRawBNsAndPubkeysToNumsAndStrings: (rawAccount: any) => any;
export declare const enumToAnchorEnum: (anyEnum: any) => {
    [x: number]: {};
};
declare type FindTokenRecordPda = (mintPubkey: web3.PublicKey, token: web3.PublicKey) => web3.PublicKey;
export declare const findTokenRecordPda: FindTokenRecordPda;
export declare const getMetaplexMetadata: (mintPubkey: web3.PublicKey) => web3.PublicKey;
export declare const findRuleSetPDA: (payer: web3.PublicKey, name: string) => Promise<web3.PublicKey>;
export {};
