import { AccessList } from "@ethersproject/transactions"; import { FieldSet, FieldSetFactory, Fields } from "../field"; import { SignatureLike } from "../util"; export declare abstract class KlaytnTx extends FieldSet { abstract sigRLP(): string; abstract txHashRLP(): string; abstract setFieldsFromRLP(rlp: string): void; sigFeePayerRLP(): string; senderTxHashRLP(): string; addSenderSig(sig: SignatureLike): void; addFeePayerSig(sig: SignatureLike): void; encodeNestedRLP(innerFieldNames: string[], outerFieldNames: string[]): string; encodeTypePrefixedRLP(namesWithoutType: string[]): string; decodeTypePrefixedRLP(rlp: string, namesWithoutType: string[]): void; decodeTypePrefixedVarlenRLP(rlp: string, ...namesCandidates: string[][]): void; } declare class _KlaytnTxFactory extends FieldSetFactory { constructor(); fromObject(fields: Fields): KlaytnTx; fromRLP(rlp: string): KlaytnTx; } export declare const KlaytnTxFactory: _KlaytnTxFactory; export interface ParsedTransaction { hash?: string; to?: string; from?: string; nonce: number; gasLimit: string; gasPrice?: string; data: string; value: string; chainId?: number; r?: string; s?: string; v?: number; type?: number | null; accessList?: AccessList; maxPriorityFeePerGas?: string; maxFeePerGas?: string; key?: any; humanReadable?: boolean; codeFormat?: number; feePayer?: string; txSignatures?: any; feePayerSignatures?: any; feeRatio?: number; } export declare function parseTransaction(rlp: string): ParsedTransaction; export {}; //# sourceMappingURL=factory.d.ts.map