import { SQLiteDriver } from "../../drivers/SQLiteDriver"; import { SqliteTable } from "./SqliteTable"; import { DBTx } from "../../../db/DBTx"; import { TxsDAO } from "../abstract/TxsDAO"; import { SandBox } from "../../sqliteDAL/SandBox"; import { TransactionDTO } from "../../../dto/TransactionDTO"; export declare class SqliteTransactions extends SqliteTable implements TxsDAO { constructor(getSqliteDB: (dbName: string) => Promise); /** * TECHNICAL */ insert(record: DBTx): Promise; insertBatch(records: DBTx[]): Promise; sandbox: SandBox<{ issuers: string[]; output_base: number; output_amount: number; }>; addLinked(tx: TransactionDTO, block_number: number, time: number): Promise; addPending(dbTx: DBTx): Promise; cleanCache(): void; findRawWithOrder(criterion: { pub?: string; }, sort: (string | (string | boolean)[])[]): Promise; getAllPending(versionMin: number): Promise; getLinkedWithIssuer(pubkey: string): Promise; getLinkedWithRecipient(pubkey: string): Promise; getPendingWithIssuer(pubkey: string): Promise; getPendingWithRecipient(pubkey: string): Promise; getTX(hash: string): Promise; getWrittenOn(blockstamp: string): Promise; removeAll(): Promise; removeBlock(blockstamp: string): Promise; removeTX(hash: string): Promise; triggerInit(): void; trimExpiredNonWrittenTxs(limitTime: number): Promise; /************************** * SANDBOX STUFF */ getSandboxTxs(): Promise; getSandboxRoom(): Promise; setSandboxSize(maxSize: number): void; }