import { type GenerateTransformCommandOptions } from '../commands/generate-transform/index.js'; import { type GasPriceInfo } from '../services/gas-price.service.js'; import { type TransactionStatusResult } from '../services/transaction-status-checker.service.js'; export type GenerateTransformOptions = Omit; export interface GenerateTransformResult { success: boolean; outputZipPath: string; error?: string; } export interface TransformOptions { outputZip?: string; scriptsZip?: string; inputZip: string; legacyMode?: boolean; cwd?: string; dataGroup?: string; } export interface TransformFailureDetail { message: string; stdout?: string; stderr?: string; } export interface TransformResult { success: boolean; outputPath: string; error?: string; scriptFailure?: TransformFailureDetail; } export interface ValidateOptions { input: string; outputCsv?: string; maxConcurrentTasks?: number; cwd?: string; } export interface ValidateResult { success: boolean; totalFiles: number; errors: number; processed: number; skipped: number; errorCsvPath: string; error?: string; } export interface HashOptions { input: string; outputZip?: string; outputCsv?: string; maxConcurrentTasks?: number; propertyCid?: string; cwd?: string; } export interface HashResult { success: boolean; outputZipPath: string; outputCsvPath: string; totalFiles: number; processed: number; errors: number; error?: string; } export interface UploadOptions { input: string; pinataJwt: string; cwd?: string; } export interface UploadResult { success: boolean; cid?: string; errorMessage?: string; errors?: { propertyDir: string; success: boolean; cid?: string; error?: string; }[]; } export interface SubmitToContractOptions { csvFile: string; rpcUrl?: string; contractAddress?: string; transactionBatchSize?: number; gasPrice?: string | number; maxFeePerGas?: string | number; maxPriorityFeePerGas?: string | number; dryRun?: boolean; unsignedTransactionsJson?: string; fromAddress?: string; domain?: string; apiKey?: string; oracleKeyId?: string; checkEligibility?: boolean; transactionIdsCsv?: string; cwd?: string; keystoreJson?: string; keystorePassword?: string; gasLimitBufferPercentage?: number; } export interface SubmitToContractResult { success: boolean; totalRecords: number; eligibleItems: number; skippedItems: number; submittedTransactions: number; totalItemsSubmitted: number; transactionIdsCsvPath?: string; error?: string; } export declare function transform(options: TransformOptions): Promise; export declare function generateTransform(options: GenerateTransformOptions): Promise; export declare function validate(options: ValidateOptions): Promise; export declare function hash(options: HashOptions): Promise; export declare function upload(options: UploadOptions): Promise; export declare function submitToContract(options: SubmitToContractOptions): Promise; export interface CheckGasPriceOptions { rpcUrl?: string; } export type CheckGasPriceResult = GasPriceInfo; export declare function checkGasPrice(options?: CheckGasPriceOptions): Promise; export interface CheckTransactionStatusOptions { transactionHashes: string | string[]; rpcUrl?: string; maxConcurrent?: number; } export type CheckTransactionStatusResult = TransactionStatusResult[]; export declare function checkTransactionStatus(options: CheckTransactionStatusOptions): Promise; //# sourceMappingURL=commands.d.ts.map