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, 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 { batchMultiSigSelector: string; version: string; chainId: ChainId; domain: TypedDataDomain; randomId: string; utils: FCTUtils; variables: Variables; validation: Validation; protected _options: Options; protected _calls: FCTCall[]; protected _callDefault: ICallDefaults; constructor(input?: BatchMultiSigCallConstructor); get options(): RequiredFCTOptions; get calls(): FCTCall[]; get callsAsObjects(): StrictMSCallInput[]; get decodedCalls(): DecodedCalls[]; get callDefault(): ICallDefaults; get computed(): IComputed[]; get computedAsData(): IComputedData[]; get validations(): Required>[]; /** * Set the options for the FCT. */ setOptions>(options: O): { id: string; name: string; validFrom: string; expiresAt: string; maxGasPrice: string; blockable: boolean; purgeable: boolean; authEnabled: boolean; dryRun: boolean; verifier: string; domain: string; app: { name: string; version: string; }; builder: { name: string; address: string; }; recurrency: { maxRepeats: string; chillTime: string; accumetable: boolean; }; multisig: { externalSigners: string[]; minimumApprovals: string; }; } & O; setCallDefaults>(callDefault: C): Omit, "value">, "nodeId"> & { options: { gasLimit: string; validation: string; falseMeansFail: boolean; usePureMethod: boolean; permissions: string; flow: import("../constants").Flow; jumpOnSuccess: string; jumpOnFail: string; callType: "ACTION" | "VIEW_ONLY" | "LIBRARY" | "LIBRARY_VIEW_ONLY"; }; } & 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; exportMap: typeof exportMap; importFCT: typeof importFCT; importFCTWithMap: typeof importFCTWithMap; getCall: typeof getCall; getCallByNodeId: typeof getCallByNodeId; getIndexByNodeId: typeof getIndexByNodeId; protected _setOptionsWithoutValidation(options: DeepPartial): { id: string; name: string; validFrom: string; expiresAt: string; maxGasPrice: string; blockable: boolean; purgeable: boolean; authEnabled: boolean; dryRun: boolean; verifier: string; domain: string; app: { name: string; version: string; }; builder: { name: string; address: string; }; recurrency: { maxRepeats: string; chillTime: string; accumetable: boolean; }; multisig: { externalSigners: string[]; minimumApprovals: string; }; }; static utils: typeof utils; static from: (input: IFCT) => BatchMultiSigCall; static fromMap: (input: IFCT, map: ReturnType) => BatchMultiSigCall; static getTransacitonTrace: ({ fct, map, txHash, tenderlyRpcUrl, }: { fct: IFCT; map: ReturnType; txHash: string; tenderlyRpcUrl: string; }) => Promise; } //# sourceMappingURL=batchMultiSigCall.d.ts.map