import { PublicKey } from "@solana/web3.js"; import { type PgClient } from "./client/pg/v2Client"; import type { DB } from "./dbTypesV2"; export interface Transfer { amount: number; tokenDecimals: number; fromAddress?: PublicKey; toAddress?: PublicKey; sig: string; blockTime: number; } interface OnChainClient { getTransfers(f: { mint: PublicKey; flow: "in" | "out"; addr: PublicKey; pageSize?: number; }): Promise; getBalanceChange(f: { tokenAccount: PublicKey; mint: PublicKey; flow: "in" | "out"; addr: PublicKey; }): Promise; getSignaturesForAddress(addr: PublicKey, options?: { before?: string; limit?: number; }): Promise; getParsedTransaction(signature: string): Promise; } export declare const solscanProClient: (apiKey: string) => OnChainClient; export declare const heliusClient: (apiKey: string) => OnChainClient; export declare class Backfiller { _types: Record; _txs: string[]; solscanClient: OnChainClient; heliusClient: OnChainClient; pg?: PgClient; isDryRun: boolean; solscan: { apiKey?: string; pageSize: number; }; constructor(solscanApiKey: string, heliusApiKey: string, pg?: PgClient, isDryRun?: boolean); emit(): this; loans(): this; buyBurnUSDCInflow(): this; manualMint(): this; renderComputeNetwork(): this; burnRENDERInflow(): this; vaultOutflows(p: { pageSize?: number; }): this; txs(...sigs: string[]): void; private formatAmount; private formatTimestamp; private indexLoans; private findEmitTxs; private indexTxs; private indexTransfers; run(): Promise; } export {}; //# sourceMappingURL=backfiller.d.ts.map