import { isObject } from '../../utils/types'

type RemoveAnnouncementResponse = {
    Success: boolean,
}

const isRemoveAnnouncementResponse = (obj: unknown): obj is RemoveAnnouncementResponse => (
    isObject(obj, {
        'Success': 'boolean',
    })
)

type RemoveAnnouncement = boolean

export type { RemoveAnnouncementResponse, RemoveAnnouncement }

export { isRemoveAnnouncementResponse }
