import * as z from "zod/v4-mini"; import { OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdk-validation-error.js"; export declare const Severity: { readonly Low: "low"; readonly Warning: "warning"; readonly High: "high"; }; export type Severity = OpenEnum; export type Rule = { id: string; type: string; name: string; }; export type ViolationUser = { id: string; username: string; /** * Avatar path from media server */ thumbUrl: string | null; /** * Proxied avatar URL */ avatarUrl: string | null; }; export type Violation = { id: string; serverId: string; serverName: string; severity: Severity; acknowledged: boolean; /** * Rule-specific violation data */ data: { [k: string]: any | null; }; createdAt: Date; rule: Rule; user: ViolationUser; }; /** @internal */ export declare const Severity$inboundSchema: z.ZodMiniType; /** @internal */ export declare const Rule$inboundSchema: z.ZodMiniType; export declare function ruleFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ViolationUser$inboundSchema: z.ZodMiniType; export declare function violationUserFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Violation$inboundSchema: z.ZodMiniType; export declare function violationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=violation.d.ts.map