import * as ActionTypes from '../actionTypes'
import { Event } from 'nostr-tools'
import { RestoreState } from '../actions'

export interface SetMetadataEvent {
  type: typeof ActionTypes.SET_METADATA_EVENT
  payload: Event
}

export type MetadataDispatchTypes = SetMetadataEvent | RestoreState
