import type { MaintenanceHistoryResult } from '@heroku/types/data'; import type { ResourceCtx } from '../../../core/extend-resource.js'; import type { MaintenanceCallPreview, MaintenanceOptions } from './index.js'; export type GetMaintenanceHistoryOptions = MaintenanceOptions & { beforeHistory?: (preview: MaintenanceCallPreview) => Promise | void; }; export type GetMaintenanceHistoryResult = { addon: MaintenanceCallPreview['addon']; history: MaintenanceHistoryResult; }; export declare function history(ctx: Pick, addonIdentity: string, query?: { limit?: number; }, options?: GetMaintenanceHistoryOptions): Promise;