import type { DiscordAuditLogChange, DiscordAuditLogEntry } from '@discordeno/types'; import { AuditLogEvents } from '@discordeno/types'; import Base from '../../Base.js'; import type GuildChannel from '../channels/Guild.js'; import Invite from '../Invite.js'; import type Message from '../Message.js'; import type User from '../users/User.js'; import type Guild from './Guild.js'; import type Member from './Member.js'; import type Role from './Role.js'; export declare class GuildAuditLogEntry extends Base { /** The guild to which this entry belongs. */ guild: Guild; /** The action type of the entry. */ actionType: AuditLogEvents; /** The reason for the action. */ reason: string | null; /** The user that performed the action. */ user?: User; /** The properties of the targeted object before the action was taken. For example, if a channel was renamed from #general to #potato, this would be `{name: "general"}`` */ before: Record; /** The properties of the targeted object after the action was taken. For example, if a channel was renamed from #general to #potato, this would be `{name: "potato"}`` */ after: Record; /** The ID of the action target */ targetID?: string; /** The number of entities targeted. For example, for action type 26 (MEMBER_MOVE), this is the number of members that were moved/disconnected from the voice channel */ count?: number; /** The channel targeted in the entry, action types 26 (MEMBER_MOVE), 72/74/75 (MESSAGE_DELETE/PIN/UNPIN) and 83/84/85 (STAGE_INSTANCE_CREATE/UPDATE/DELETE) only */ channel?: GuildChannel; /** The message that was (un)pinned, action types 74/75 (MESSAGE_PIN/UNPIN) only. If the message is not cached, this will be an object with an `id` key. No other property is guaranteed. */ message?: Message | { id: string; }; /** The number of days of inactivity to prune for, action type 21 (MEMBER_PRUNE) only */ deleteMemberDays?: number; /** The number of members pruned from the server, action type 21 (MEMBER_PRUNE) only */ membersRemoved?: number; /** The member described by the permission overwrite, action types 13-15 (CHANNEL\_OVERWRITE\_CREATE/UPDATE/DELETE) only. If the member is not cached, this could be {id: String} */ member?: Member | { id: string; }; /** The role described by the permission overwrite, action types 13-15 (CHANNEL\_OVERWRITE\_CREATE/UPDATE/DELETE) only. If the role is not cached, this could be {id: String, name: String} */ role?: Role | { id: string; name: string; }; constructor(data: DiscordAuditLogEntry, guild: Guild); get target(): GuildChannel | Guild | User | Member | Invite | import("@discordeno/types").DiscordEmoji | import("@discordeno/types").DiscordSticker | Role | null | undefined; toJSON(props?: string[]): Record; } export default GuildAuditLogEntry; //# sourceMappingURL=AuditLogEntry.d.ts.map