import React, { FC } from 'react'; import { Note as NoteType } from './Note.types'; declare type NotesProps = { children?: React.ReactNode; className?: string; onCancel?: (note: NoteType) => void; onChange?: (ev: React.ChangeEvent, note: NoteType) => void; onDelete?: (note: Omit) => void; onEdit?: (note: Omit) => void; onSave?: (note: NoteType) => void; onUndelete?: (note: NoteType) => void; notes: (NoteType & { id: string; saving?: boolean; })[]; }; declare const Notes: FC; export default Notes;