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"; /** * The kind of content the channel moderates. */ export declare const ContentType: { readonly Profile: "profile"; readonly Message: "message"; readonly Post: "post"; readonly Comment: "comment"; readonly Event: "event"; readonly Product: "product"; readonly Review: "review"; readonly Voice: "voice"; readonly Other: "other"; }; /** * The kind of content the channel moderates. */ export type ContentType = OpenEnum; /** * `ACTIVE` flags content. `DRY_RUN` evaluates content without flagging it. */ export declare const FlaggingMode: { readonly DryRun: "DRY_RUN"; readonly Active: "ACTIVE"; }; /** * `ACTIVE` flags content. `DRY_RUN` evaluates content without flagging it. */ export type FlaggingMode = OpenEnum; /** * Trade-off between transcription speed and accuracy. */ export declare const TranscriptionQuality: { readonly Speed: "SPEED"; readonly Balanced: "BALANCED"; readonly Accuracy: "ACCURACY"; }; /** * Trade-off between transcription speed and accuracy. */ export type TranscriptionQuality = OpenEnum; export type Channel = { /** * The ID of the channel. */ id: string; /** * The ID of the project the channel is in. */ projectId: string; /** * The key you pass as `channel` when you moderate content. Unique in the project. */ key: string; /** * The channel's name. */ name: string; /** * The channel's description. */ description: string | null; /** * Whether requests that name no channel use this one. Each project has one default channel. */ isDefault: boolean; contentType: ContentType | null; /** * `ACTIVE` flags content. `DRY_RUN` evaluates content without flagging it. */ flaggingMode: FlaggingMode; /** * Whether earlier messages in the conversation are read when moderating a message. */ contextEnabled: boolean; /** * Whether images are moderated. */ enableImageModeration: boolean; /** * Whether videos are moderated. */ enableVideoModeration: boolean; /** * Whether audio is moderated. */ enableAudioModeration: boolean; /** * Whether real-time voice streams are moderated. */ enableVoiceModeration: boolean; /** * Whether audio and video transcripts are returned in responses. */ includeTranscriptInResponse: boolean; /** * Trade-off between transcription speed and accuracy. */ transcriptionQuality: TranscriptionQuality; /** * Whether look-alike Unicode characters are normalized before moderation. */ unicodeSpoofDetectionEnabled: boolean; /** * Seconds between frames captured from a video. */ frameCaptureInterval: number; /** * The most frames moderated per video. */ maxFramesPerVideo: number; /** * Whether frames are spread evenly across the whole video. */ spreadFrames: boolean; /** * When the channel was created. */ createdAt: string; /** * When the channel was last changed. */ updatedAt: string; }; /** @internal */ export declare const ContentType$inboundSchema: z.ZodMiniType; /** @internal */ export declare const FlaggingMode$inboundSchema: z.ZodMiniType; /** @internal */ export declare const TranscriptionQuality$inboundSchema: z.ZodMiniType; /** @internal */ export declare const Channel$inboundSchema: z.ZodMiniType; export declare function channelFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=channel.d.ts.map