import type { Channel } from '../structures/channel.ts'import type { Guild } from '../structures/guild.ts'import type { ChannelPayload } from './channel.ts'import type { GuildPayload } from './guild.ts'import type { UserPayload } from './user.ts'
export interface InvitePayload { code: string guild?: GuildPayload channel: ChannelPayload inviter?: UserPayload target_user?: UserPayload target_user_type?: number approximate_presence_count?: number approximate_member_count?: number}
export interface PartialInvitePayload { code: string channel: Channel guild?: Guild}
export interface InviteMetadataPayload { uses: number max_uses: number max_age: number temporary: boolean created_at: Date}
export interface InviteWithMetadataPayload extends InvitePayload, InviteMetadataPayload {}