type StoreAfterDeleteHandler<R extends UnknownRecord> = ( record: R, source: 'remote' | 'user' ) => void