import type { SchemaState, MigrationOperation } from './types';
export declare class CancellationError extends Error {
    constructor(message: string);
}
export declare function diffSchemas(previous: SchemaState, current: SchemaState): MigrationOperation[];
export declare function emptyState(): SchemaState;
export type RenamePrompt = (message: string, options: {
    value: string;
    label: string;
    hint: string;
}[]) => Promise<string | symbol>;
export declare function resolveRenames(operations: MigrationOperation[], options?: {
    interactive?: boolean;
    prompt?: RenamePrompt;
}): Promise<MigrationOperation[]>;
