import { Addon, AddonRequest, AddonResponse } from "@mediahubmx/schema"; import { AddonClass } from "./addon"; import { ActionHandlerContext } from "./types"; export declare type MigrationContext = { clientVersion: null | string; addon: AddonClass; data: any; user: ActionHandlerContext["user"]; validator: { request: (obj: any) => any; response: (obj: any) => any; }; }; export declare const migrations: { item: { response(ctx: MigrationContext, input: any, output: any): any; }; addon: { response(ctx: MigrationContext, input: AddonRequest, output: AddonResponse): Addon; }; };