import { Note, type TypeNote } from "../commons/Note";
/**
 * API d’édition cohérente autour d’une {@link Note} existante (mutation in-place).
 */
export declare class NoteEdit {
    private readonly target;
    constructor(target: Note);
    get value(): Note;
    setType(type: TypeNote): this;
    /** Remplace le texte de la note (y compris tableau vide). */
    setLines(lines: readonly string[]): this;
    appendLine(line: string): this;
    clearLines(): this;
    setIndis(ids: readonly number[]): this;
    appendIndi(indi: number): this;
    clearIndis(): this;
}
export declare function editNote(note: Note): NoteEdit;
