export interface UnsavedChangesGuard { isDirty: () => boolean; save: () => Promise; discard: () => void; }