declare const WARNING_NOTICE = "warning";
declare const FATAL_NOTICE = "fatal";
export type GraphModelMigrationNoticeKind = typeof WARNING_NOTICE | typeof FATAL_NOTICE;
export type GraphModelMigrationNoticeFields = {
    readonly kind: GraphModelMigrationNoticeKind;
    readonly code: string;
    readonly message: string;
};
/** Runtime-backed warning or fatal planning notice for graph-model migration. */
export default class GraphModelMigrationNotice {
    readonly kind: GraphModelMigrationNoticeKind;
    readonly code: string;
    readonly message: string;
    constructor(fields: GraphModelMigrationNoticeFields);
    /** Builds a warning notice. */
    static warning(code: string, message: string): GraphModelMigrationNotice;
    /** Builds a fatal planning notice. */
    static fatal(code: string, message: string): GraphModelMigrationNotice;
    /** Returns true when this notice blocks planning. */
    isFatal(): boolean;
}
export {};
