import BN from 'bn.js'; export interface PublicKeyInitData { _bn: BN; } export interface KeypairData { publicKey: Uint8Array; secretKey: Uint8Array; } export interface TransactionInstruction { keys: Array<{ pubkey: PublicKey; isSigner: boolean; isWritable: boolean; }>; programId: PublicKey; data: Uint8Array; } export interface TransactionMessage { accountKeys: PublicKey[]; recentBlockhash: string; instructions: TransactionInstruction[]; } export interface RpcResponse { context: { slot: number; }; value: T; } export interface AccountInfo { executable: boolean; lamports: number; owner: string; rentEpoch: number; data: string[]; } export interface TransactionSignature { signature: string; } export interface Connection { rpcEndpoint: string; } export declare class PublicKey { private _bn; constructor(value: string | number[] | Uint8Array | Buffer); private fromBase58; toBase58(): string; toBuffer(): Buffer; equals(other: PublicKey): boolean; toString(): string; static unique(): PublicKey; static findProgramAddress(seeds: Uint8Array[], programId: PublicKey): Promise<[PublicKey, number]>; private static isOnEd25519Curve; private static modInverse; private static isQuadraticResidue; private static modSqrt; private static modPow; }