import type { App } from "../../core/app.js";
import type { CollectionRequestEvent } from "../../core/events.js";
import type { Config } from "./migratecmd.js";
export type PluginContext = {
    app: App;
    config: Config;
};
export declare function automigrateOnCollectionChange(p: PluginContext, e: CollectionRequestEvent): Promise<Error | Response | null>;
