import { type CompanionStaticUpgradeScript } from '@companion-module/base'; import type { UpgradeActionAndFeedbackInstancesResponse, UpgradeActionInstance, UpgradeFeedbackInstance } from '../context.js'; /** * Run through the upgrade scripts for the given data * Note: this updates the inputs in place, but the result needs to be sent back to companion * @param allActions Actions that may need upgrading * @param allFeedbacks Feedbacks that may need upgrading * @param defaultUpgradeIndex The lastUpgradeIndex of the connection, if known * @param upgradeScripts The scripts that may be run * @param config The current config of the module * @param skipConfigAndSecretsUpgrade Whether to skip upgrading the config and secrets * @returns The upgraded data that needs persisting */ export declare function runThroughUpgradeScripts(allActionsArray: UpgradeActionInstance[], allFeedbacksArray: UpgradeFeedbackInstance[], defaultUpgradeIndex: number | null, upgradeScripts: CompanionStaticUpgradeScript[], config: unknown, secrets: unknown, skipConfigAndSecretsUpgrade: boolean): UpgradeActionAndFeedbackInstancesResponse; //# sourceMappingURL=upgrade.d.ts.map