import { Note } from "../../commons/Note";
import { Identifier } from "../../commons/Identifier.enum";
export type GedcomNoteImportContext = {
    globalNotes?: Map<number, string[]>;
    notePointerToId?: ReadonlyMap<string, number>;
};
/** `1 NOTE` sous INDI (pas `2 NOTE` sous un acte). */
export declare function isPersonLevelGedcomLine(level: string): boolean;
/** `2 NOTE` sous un événement (`BIRT`, `MARR`, …). */
export declare function isActLevelGedcomNoteLine(level: string): boolean;
export declare function isGedcomNoteContinuationTag(tag: string): tag is Identifier.CONC | Identifier.CONT;
/**
 * Construit une {@link Note} à partir d’une valeur `NOTE` inline ou d’un pointeur `@N…@`.
 */
export declare function createNoteFromGedcomPayload(rawValue: string, ctx?: GedcomNoteImportContext | null): Note | null;
/** Ajoute une sous-ligne `CONC` / `CONT` à une note en cours d’import. */
export declare function appendGedcomNoteSubline(note: Note, tag: Identifier.CONC | Identifier.CONT, value: string): void;
