import { JSONSchema, ValidateFunction } from '../../validation'; import { BaseEvent, Events } from './base'; export type UserBanCreatedEvent = BaseEvent & { type: Events.Type.MODERATION; subType: Events.SubType.Moderation.USER_BAN_CREATED; metadata: { id: string; bannedAddress: string; bannedBy: string; reason: string; /** Unix timestamp (ms) when the ban was created. */ bannedAt: number; /** Unix timestamp (ms) when the ban expires. null means permanent ban. */ expiresAt: number | null; customMessage?: string; }; }; export declare namespace UserBanCreatedEvent { const schema: JSONSchema; const validate: ValidateFunction; } export type UserBanLiftedEvent = BaseEvent & { type: Events.Type.MODERATION; subType: Events.SubType.Moderation.USER_BAN_LIFTED; metadata: { id: string; bannedAddress: string; liftedBy: string; /** Unix timestamp (ms) when the ban was lifted. */ liftedAt: number; }; }; export declare namespace UserBanLiftedEvent { const schema: JSONSchema; const validate: ValidateFunction; } export type UserWarningCreatedEvent = BaseEvent & { type: Events.Type.MODERATION; subType: Events.SubType.Moderation.USER_WARNING_CREATED; metadata: { id: string; warnedAddress: string; warnedBy: string; reason: string; /** Unix timestamp (ms) when the warning was created. */ warnedAt: number; }; }; export declare namespace UserWarningCreatedEvent { const schema: JSONSchema; const validate: ValidateFunction; } //# sourceMappingURL=moderation.d.ts.map