import type { MaintenanceRunResult } from '@heroku/types/data'; import type { ResourceCtx } from '../../../core/extend-resource.js'; import type { MaintenanceCallPreview, MaintenanceOptions } from './index.js'; export type RunMaintenanceOptions = MaintenanceOptions & { beforeRun?: (preview: MaintenanceCallPreview) => Promise | void; }; export type RunMaintenanceResult = { addon: MaintenanceCallPreview['addon']; result: MaintenanceRunResult; }; export declare function run(ctx: Pick, addonIdentity: string, options?: RunMaintenanceOptions): Promise;