import { ConfDTO } from "../dto/ConfDTO"; import { FileDAL } from "../dal/fileDAL"; import { DBBlock } from "../db/DBBlock"; import { TransactionDTO, TxSignatureResult } from "../dto/TransactionDTO"; import { BlockDTO } from "../dto/BlockDTO"; import { DBTx } from "../db/DBTx"; export interface ParamEval { successful: boolean; funcName: string; parameter: string; } export declare function evalParams(params: string[], conditions: string | undefined, sigResult: TxSignatureResult): ParamEval[]; export declare const GLOBAL_RULES_FUNCTIONS: { checkIdentitiesAreWritable: (block: { identities: string[]; version: number; }, conf: ConfDTO, dal: FileDAL) => Promise; checkSourcesAvailability: (block: { version: number; transactions: TransactionDTO[]; medianTime: number; }, conf: ConfDTO, dal: FileDAL, findSourceTx: (txHash: string) => Promise) => Promise; }; export declare const GLOBAL_RULES_HELPERS: { checkMembershipBlock: (ms: any, current: DBBlock | null, conf: ConfDTO, dal: FileDAL) => Promise; checkCertificationIsValidInSandbox: (cert: any, current: BlockDTO, findIdtyFunc: any, conf: ConfDTO, dal: FileDAL) => Promise; checkCertificationIsValidForBlock: (cert: any, block: { number: number; currency: string; }, findIdtyFunc: (b: { number: number; currency: string; }, pubkey: string, dal: FileDAL) => Promise<{ pubkey: string; uid: string; buid: string; sig: string; } | null>, conf: ConfDTO, dal: FileDAL) => Promise; isOver3Hops: (member: any, newLinks: any, newcomers: string[], current: DBBlock | null, conf: ConfDTO, dal: FileDAL) => Promise; checkExistsUserID: (uid: string, dal: FileDAL) => Promise; checkExistsPubkey: (pub: string, dal: FileDAL) => Promise; checkSingleTransaction: (tx: TransactionDTO, dubp_version: number, medianTime: number, conf: ConfDTO, dal: FileDAL, findSourceTx: (txHash: string) => Promise) => Promise; checkTxBlockStamp: (tx: TransactionDTO, dal: FileDAL) => Promise; }; export declare function setLogger(newLogger: any): void;