import { ChainId } from "@kiroboio/fct-plugins"; import { DeepPartial, FCTCall, IFCT, StrictMSCallInput } from "../types"; import { FCTUtils, Options, Validation, Variables } from "./classes"; import { IValidation } from "./classes/Validation/types"; import { IComputed, IComputedData } from "./classes/Variables/types"; import { addAtIndex, create, createMultiple, createPlugin, exportEfficientFCT, exportFCT, exportMap, exportNotificationFCT, exportWithApprovals, exportWithPayment, getCall, getCallByNodeId, getIndexByNodeId, getPlugin, getPluginClass, getPluginData, importFCT, importFCTWithMap } from "./methods"; import { BatchMultiSigCallConstructor, DecodedCalls, ICallDefaults, IFCTOptions, RequiredFCTOptions, TypedDataDomain } from "./types"; import * as utils from "./utils"; export declare class BatchMultiSigCall { version: string; chainId: ChainId; domain: TypedDataDomain | null; randomId: string; utils: FCTUtils; variables: Variables; validation: Validation; protected _options: Options; protected _calls: FCTCall[]; protected _callDefault: ICallDefaults; protected _isImported: boolean; constructor(input?: BatchMultiSigCallConstructor); get options(): RequiredFCTOptions; get generatedOptions(): RequiredFCTOptions; get calls(): FCTCall[]; get callsAsObjects(): StrictMSCallInput[]; get decodedCalls(): DecodedCalls[]; get callDefault(): ICallDefaults; get computed(): IComputed[]; get computedAsData(): IComputedData[]; get validations(): Required>[]; get isImported(): boolean; /** * Set the options for the FCT. */ setOptions>(options: O, validate?: boolean): RequiredFCTOptions & O; setCallDefaults>(callDefault: C): ICallDefaults & C; changeChainId: (chainId: ChainId) => void; addComputed: >(computed: C) => import("./classes/Variables/types").AddComputedResult; addValidation: >(validation: { nodeId: string; validation: V; }) => import("./classes/Validation/types").ValidationAddResult; getPlugin: typeof getPlugin; getPluginClass: typeof getPluginClass; getPluginData: typeof getPluginData; createPlugin: typeof createPlugin; /** * This function adds a new Call instance and adds it to the _calls array. * If the input is already a Call instance, it is directly added to the _calls array. * Otherwise, a new Call instance is created from the input and then added to the _calls array. * * @param {FCTInputCall} call - The input call to create a Call instance from. * @returns {Promise} The created Call instance. */ add: typeof create; /** * This function adds multiple new Call instances and adds them to the _calls array. * If the input is already a Call instance, it is directly added to the _calls array. * Otherwise, a new Call instance is created from the input and then added to the _calls array. * * @param {FCTInputCall[]} calls - The input calls to create Call instances from. * @returns {Promise} The created Call instances. */ addMultiple: typeof createMultiple; /** * This function adds a new Call instance and adds it to the _calls array. * If the input is already a Call instance, it is directly added to the _calls array. * Otherwise, a new Call instance is created from the input and then added to the _calls array. * * @param {FCTInputCall} call - The input call to create a Call instance from. * @returns {Promise} The created Call instance. */ create: typeof create; /** * This function adds multiple new Call instances and adds them to the _calls array. * If the input is already a Call instance, it is directly added to the _calls array. * Otherwise, a new Call instance is created from the input and then added to the _calls array. * * @param {FCTInputCall[]} calls - The input calls to create Call instances from. * @returns {Promise} The created Call instances. */ createMultiple: typeof createMultiple; protected addAtIndex: typeof addAtIndex; export: typeof exportFCT; exportFCT: typeof exportFCT; exportNotification: typeof exportNotificationFCT; exportNotificationFCT: typeof exportNotificationFCT; exportWithApprovals: typeof exportWithApprovals; exportWithPayment: typeof exportWithPayment; exportEfficientFCT: typeof exportEfficientFCT; exportMap: typeof exportMap; importFCT: typeof importFCT; importFCTWithMap: typeof importFCTWithMap; getCall: typeof getCall; getCallByNodeId: typeof getCallByNodeId; getIndexByNodeId: typeof getIndexByNodeId; protected _setOptionsWithoutValidation(options: DeepPartial): RequiredFCTOptions; static utils: typeof utils; static from: (input: IFCT, messageHash?: string) => BatchMultiSigCall; static fromMap: (input: IFCT, map: ReturnType, messageHash?: string) => BatchMultiSigCall; static getTransacitonTrace: ({ fct, map, txHash, tenderlyRpcUrl, }: { fct: IFCT; map: ReturnType; txHash: string; tenderlyRpcUrl: string; }) => Promise; } //# sourceMappingURL=batchMultiSigCall.d.ts.map