import { type ValidCreateActionArgs, type ValidListActionsArgs, type ValidListOutputsArgs, type ValidProcessActionArgs } from '@bsv/sdk/wallet/validationHelpers'; import { ListActionsResult, ListOutputsResult } from '@bsv/sdk'; import type { PendingSignAction, Wallet } from '../../Wallet'; import { StorageCreateActionResult, StorageProcessActionResults } from '../../sdk/WalletStorage.interfaces'; import { WERR_INSUFFICIENT_FUNDS } from '../../sdk/WERR_errors'; export type ActionBatchMode = 'auto' | 'legacy'; export declare function additionalFundingTarget(error: WERR_INSUFFICIENT_FUNDS): number; export declare function fundingRunwayExtension(runwayTarget: number, ewmaConfirmedInputs: number, ewmaConfirmedSatoshis: number, availableConfirmed: Array<{ satoshis: number; }>): { nextRunwayTarget: number; requestedOutputs: number; targetSatoshis: number; } | undefined; export declare class ActionBatchController { private readonly wallet; readonly mode: ActionBatchMode; private workspace?; private readonly capabilities; private serial; constructor(wallet: Wallet, mode: ActionBatchMode); get hasWorkspace(): boolean; overlayListActions(persisted: ListActionsResult, args: ValidListActionsArgs): ListActionsResult; overlayListOutputs(persisted: ListOutputsResult, args: ValidListOutputsArgs): ListOutputsResult; private runExclusive; private negotiate; private begin; private retire; private recover; plan(args: ValidCreateActionArgs): Promise; process(prior: PendingSignAction | undefined, args: ValidProcessActionArgs): Promise; ownsReference(reference: string): boolean; abort(): Promise; abortAction(referenceOrTxid: string): Promise; } //# sourceMappingURL=ActionBatchWorkspace.d.ts.map