import type { DiscordClient } from "./discord-client.js"; import type { RequestOptions } from "./types.js"; export declare const DISCORD_GUILD_AUDIT_ACTION_NAMES: Readonly>; export interface GuildAuditLogClient { getGuildAuditLog: DiscordClient["getGuildAuditLog"]; } export interface GuildAuditLogServiceOptions { client: GuildAuditLogClient; } export interface ListGuildAuditEntriesOptions extends RequestOptions { actionType?: number; actorUserId?: string; beforeEntryId?: string; includeReasons?: boolean; limit?: number; } export interface GetGuildAuditEntryOptions extends RequestOptions { includeReason?: boolean; } export declare class GuildAuditLogService { #private; constructor(options: GuildAuditLogServiceOptions); list(guildId: string, options?: ListGuildAuditEntriesOptions): Promise<{ entries: { actionName: string | null; actionType: number; actorUserId: string | null; changeCount: number; changeKeys: string[]; createdAt: string; hasReason: boolean; id: string; optionKeys: string[]; redactedChangeKeyCount: number; redactedOptionKeyCount: number; targetId: string | null; targetIdentifierRedacted: boolean; reason?: string | null; }[]; guildId: string; page: { beforeEntryId: string | null; hasMore: boolean; nextBeforeEntryId: string | null; requestedLimit: number; returned: number; }; privacy: { changeValues: "omitted"; embeddedObjects: "omitted"; nonSnowflakeTargets: "redacted"; optionValues: "omitted"; persistence: "none"; reasons: "included" | "omitted"; }; schemaVersion: number; status: "ok"; }>; get(guildId: string, entryId: string, options?: GetGuildAuditEntryOptions): Promise<{ entryId: string; found: false; guildId: string; privacy: { changeValues: "omitted"; embeddedObjects: "omitted"; nonSnowflakeTargets: "redacted"; optionValues: "omitted"; persistence: "none"; reasons: "included" | "omitted"; }; schemaVersion: number; status: "not-found"; entry?: never; } | { entryId?: never; entry: { actionName: string | null; actionType: number; actorUserId: string | null; changeCount: number; changeKeys: string[]; createdAt: string; hasReason: boolean; id: string; optionKeys: string[]; redactedChangeKeyCount: number; redactedOptionKeyCount: number; targetId: string | null; targetIdentifierRedacted: boolean; reason?: string | null; }; found: true; guildId: string; privacy: { changeValues: "omitted"; embeddedObjects: "omitted"; nonSnowflakeTargets: "redacted"; optionValues: "omitted"; persistence: "none"; reasons: "included" | "omitted"; }; schemaVersion: number; status: "ok"; }>; } //# sourceMappingURL=audit-log-service.d.ts.map