UNPKG

@gguf/claw

Version:

Multi-channel AI gateway with extensible messaging integrations

14 lines (13 loc) 769 B
import { z } from "zod"; export declare function createAllowDenyChannelRulesSchema(): z.ZodOptional<z.ZodObject<{ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"allow">, z.ZodLiteral<"deny">]>>; rules: z.ZodOptional<z.ZodArray<z.ZodObject<{ action: z.ZodUnion<readonly [z.ZodLiteral<"allow">, z.ZodLiteral<"deny">]>; match: z.ZodOptional<z.ZodObject<{ channel: z.ZodOptional<z.ZodString>; chatType: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"direct">, z.ZodLiteral<"group">, z.ZodLiteral<"channel">, z.ZodLiteral<"dm">]>>; keyPrefix: z.ZodOptional<z.ZodString>; rawKeyPrefix: z.ZodOptional<z.ZodString>; }, z.core.$strict>>; }, z.core.$strict>>>; }, z.core.$strict>>;