import type Db from './database';
import type Model from './model';
export default class Note {
    id: number;
    model: Model;
    fieldsValue: string[];
    tags: string[];
    name: string;
    constructor(model: Model);
    setName(name: string): this;
    setId(id: number): this;
    setFieldsValue(fieldsValue?: string[]): this;
    setTags(tags?: string[]): this;
    private _checkNumberModelFieldsMatchesNumFields;
    writeToDatabase(db: Db, deckId: number): void;
}
