import { z } from 'zod'; export declare const createChannelRequestSchema: z.ZodObject<{ pattern: z.ZodString; description: z.ZodOptional; webhookUrls: z.ZodOptional>; enabled: z.ZodDefault>; }, "strip", z.ZodTypeAny, { enabled: boolean; pattern: string; description?: string | undefined; webhookUrls?: string[] | undefined; }, { pattern: string; description?: string | undefined; enabled?: boolean | undefined; webhookUrls?: string[] | undefined; }>; export declare const createChannelResponseSchema: z.ZodObject<{ id: z.ZodString; pattern: z.ZodString; description: z.ZodNullable; webhookUrls: z.ZodNullable>; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }, { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }>; export type CreateChannelRequest = z.infer; export type CreateChannelResponse = z.infer; export declare const updateChannelRequestSchema: z.ZodObject<{ pattern: z.ZodOptional; description: z.ZodOptional; webhookUrls: z.ZodOptional>; enabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; enabled?: boolean | undefined; pattern?: string | undefined; webhookUrls?: string[] | undefined; }, { description?: string | undefined; enabled?: boolean | undefined; pattern?: string | undefined; webhookUrls?: string[] | undefined; }>; export declare const updateChannelResponseSchema: z.ZodObject<{ id: z.ZodString; pattern: z.ZodString; description: z.ZodNullable; webhookUrls: z.ZodNullable>; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }, { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }>; export type UpdateChannelRequest = z.infer; export type UpdateChannelResponse = z.infer; export declare const getChannelResponseSchema: z.ZodObject<{ id: z.ZodString; pattern: z.ZodString; description: z.ZodNullable; webhookUrls: z.ZodNullable>; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }, { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }>; export type GetChannelResponse = z.infer; export declare const listChannelsResponseSchema: z.ZodArray; webhookUrls: z.ZodNullable>; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }, { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }>, "many">; export type ListChannelsResponse = z.infer; export declare const deleteChannelResponseSchema: z.ZodObject<{ message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; }, { message: string; }>; export type DeleteChannelResponse = z.infer; export declare const listMessagesRequestSchema: z.ZodObject<{ channelId: z.ZodOptional; eventName: z.ZodOptional; limit: z.ZodDefault>; offset: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; offset: number; eventName?: string | undefined; channelId?: string | undefined; }, { limit?: number | undefined; offset?: number | undefined; eventName?: string | undefined; channelId?: string | undefined; }>; export declare const listMessagesResponseSchema: z.ZodArray; channelName: z.ZodString; payload: z.ZodRecord; senderType: z.ZodEnum<["system", "user"]>; senderId: z.ZodNullable; wsAudienceCount: z.ZodNumber; whAudienceCount: z.ZodNumber; whDeliveredCount: z.ZodNumber; createdAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; createdAt: string; eventName: string; channelId: string | null; channelName: string; payload: Record; senderType: "user" | "system"; senderId: string | null; wsAudienceCount: number; whAudienceCount: number; whDeliveredCount: number; }, { id: string; createdAt: string; eventName: string; channelId: string | null; channelName: string; payload: Record; senderType: "user" | "system"; senderId: string | null; wsAudienceCount: number; whAudienceCount: number; whDeliveredCount: number; }>, "many">; export type ListMessagesRequest = z.infer; export type ListMessagesResponse = z.infer; export declare const messageStatsRequestSchema: z.ZodObject<{ channelId: z.ZodOptional; since: z.ZodOptional; }, "strip", z.ZodTypeAny, { channelId?: string | undefined; since?: Date | undefined; }, { channelId?: string | undefined; since?: Date | undefined; }>; export declare const messageStatsResponseSchema: z.ZodObject<{ totalMessages: z.ZodNumber; whDeliveryRate: z.ZodNumber; topEvents: z.ZodArray, "many">; retentionDays: z.ZodNullable; }, "strip", z.ZodTypeAny, { retentionDays: number | null; totalMessages: number; whDeliveryRate: number; topEvents: { count: number; eventName: string; }[]; }, { retentionDays: number | null; totalMessages: number; whDeliveryRate: number; topEvents: { count: number; eventName: string; }[]; }>; export type MessageStatsRequest = z.infer; export type MessageStatsResponse = z.infer; export declare const updateRealtimeConfigRequestSchema: z.ZodObject<{ retentionDays: z.ZodNullable; }, "strip", z.ZodTypeAny, { retentionDays: number | null; }, { retentionDays: number | null; }>; export declare const getRealtimeConfigResponseSchema: z.ZodObject<{ retentionDays: z.ZodNullable; }, "strip", z.ZodTypeAny, { retentionDays: number | null; }, { retentionDays: number | null; }>; export type UpdateRealtimeConfigRequest = z.infer; export type GetRealtimeConfigResponse = z.infer; export declare const rlsPolicySchema: z.ZodObject<{ policyName: z.ZodString; tableName: z.ZodString; command: z.ZodString; roles: z.ZodArray; using: z.ZodNullable; withCheck: z.ZodNullable; }, "strip", z.ZodTypeAny, { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }, { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }>; export declare const realtimePermissionsResponseSchema: z.ZodObject<{ subscribe: z.ZodObject<{ policies: z.ZodArray; using: z.ZodNullable; withCheck: z.ZodNullable; }, "strip", z.ZodTypeAny, { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }, { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }, { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }>; publish: z.ZodObject<{ policies: z.ZodArray; using: z.ZodNullable; withCheck: z.ZodNullable; }, "strip", z.ZodTypeAny, { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }, { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }, { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }>; }, "strip", z.ZodTypeAny, { subscribe: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; publish: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; }, { subscribe: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; publish: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; }>; export type RlsPolicy = z.infer; export type RealtimePermissionsResponse = z.infer; //# sourceMappingURL=realtime-api.schema.d.ts.map