import { ConfirmationProof, KeyPair, Operation, Transaction } from "../../src/blockchainClient/types"; import { GTX, RawGtxBody } from "../../src/gtx/types"; import { AnchoringTransaction } from "../../src/ICCF/types"; import { IClient } from "../../src/blockchainClient/interface"; import { AnchoringStatus, ResponseStatus } from "../../src/blockchainClient/enums"; export declare const LOCAL_POOL = "http://localhost:7740"; export declare const contentTypes: { octetStream: string; json: string; }; export declare const CONFIGURED_POLL_COUNT = 5; export declare const CONFIGURED_POLL_INTERVAL = 500; export declare const mockThirtyTwoBytesBuffer: Buffer; export declare const mockHexStringOfThirtyTwoBytesBuffer: string; export declare const mockStringBlockchainRid = "D7AE4988E9FCAC470D1B5AB9CD04A79BFE165AB616B4D038C2ED944BA2461212"; export declare const exampleTxHashString = "834ba9e86285875cd0c4f2ff2605db1ed921a1dcd47c873916d99e06f8874f5a"; export declare const mockBuffer: Buffer; export declare const mockBufferBlockchainRid: Buffer; export declare const mockStringFaultyBrid = "60B01AD60DD4476E2DB5141B0848B9F350D4F6F7C7F6EE5421EFC9968FF5874C"; export declare const mockStringDirectoryChainRid = "0101010101010101010101010101010101010101010101010101010101010101"; export declare const mockNodeUrls: string[]; export declare const mockAnchoringTransaction: AnchoringTransaction; export declare const mockConfirmationProof: ConfirmationProof; export declare const exampleOperation: Operation; export declare const mockSignerPrivKey: Buffer; export declare const mockSignerPubKey: Buffer; export declare const mockSignerKeyPair: KeyPair; export declare const mockSignatureProvider: { pubKey: Buffer; sign: (rawGtxBody: RawGtxBody) => Promise>; }; export declare const mockSignerPrivKeyB: Buffer; export declare const mockSignerPubKeyB: Buffer; export declare const mockSignerKeyPairB: { privKey: Buffer; pubKey: Buffer; }; export declare const mockOperation: Operation; export declare const mockUnsignedTx: { operations: Operation[]; signers: Buffer[]; }; export declare const unsignedTx: Transaction; export declare const unsignedNonUniqueTxWithTwoSigners: { operations: { name: string; args: number[]; }[]; signers: Buffer[]; }; export declare const unsignedNonUniqueTx: { operations: { name: string; args: number[]; }[]; signers: Buffer[]; }; export declare const mockUnsignedMultiOperationTx: Transaction; export declare const signedNonUniqueTxHex: string; export declare const expectedTransactionInfo: { blockRid: Buffer; blockHeight: number; blockHeader: Buffer; witness: Buffer; timestamp: number; txRid: Buffer; txHash: Buffer; txData: Buffer; }; export declare const invalidEndpointPool: string[]; export declare const mockGtx: GTX; export declare const mockRawGtxBody: RawGtxBody; export declare const clientConfiguredToD1: IClient; export declare const mockTransactionReceipts: { pending: { status: ResponseStatus; statusCode: null; transactionRid: Buffer; node: string; }; unknown: { status: ResponseStatus; statusCode: number; transactionRid: Buffer; node: string; }; rejected: { status: ResponseStatus; statusCode: number; transactionRid: Buffer; node: string; }; waiting: { status: ResponseStatus; statusCode: number; transactionRid: Buffer; node: string; }; waiting_undefined: { status: ResponseStatus; statusCode: number; transactionRid: Buffer; node: undefined; }; confirmed: { status: ResponseStatus; statusCode: number; transactionRid: Buffer; node: string; }; confirmed_undefined: { status: ResponseStatus; statusCode: number; transactionRid: Buffer; node: undefined; }; }; export declare const mockClusterAnchoringConfirmationResponse: { status: AnchoringStatus; statusCode: number; transactionRid: Buffer; clusterAnchoredTx: AnchoringTransaction; clusterAnchoringClientBrid: string; }; export declare const mockSystemAnchoringConfirmationResponse: { status: AnchoringStatus; statusCode: number; transactionRid: Buffer; clusterAnchoredTx: AnchoringTransaction; systemAnchoredTx: AnchoringTransaction; clusterAnchoringClientBrid: string; systemAnchoringClientBrid: string; }; export declare const mockBinaryHexString = "A581B83081B5A56B3069A12204200398A1E7B0F87709AFD14CD1821EAAAFB41931A8097FFA2D83E5FE10DA7E4DD5A51A3018A5163014A20E0C0C6D795F6F7065726174696F6EA5023000A5273025A1230421032BF0FCF83A287FB5EC71E4DAEA5DE892804A5BBBED6130DBCDDB871015C34EA0A5463044A14204404B425779BF8BD5ED503837337BBE102B7013F791F3BCFB812726EA93E076A3267656EC773AA10617E1ABDB25E97AB1CF2992CDB3E059D668C90BDA6BB91FE836";