import { z } from 'zod'; export declare const ApiSuccessSchema: (dataSchema: T) => z.ZodObject<{ ok: z.ZodLiteral; data: T; cursor: z.ZodOptional; has_more: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; export declare const ApiErrorSchema: z.ZodObject<{ ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodString; message: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const ApiResponseSchema: (dataSchema: T) => z.ZodType>>; export declare const InboxResponseSchema: z.ZodObject<{ unread_channels: z.ZodArray>; mentions: z.ZodArray>; unread_dms: z.ZodArray>; }, z.core.$strip>>; recent_reactions: z.ZodArray>; }, z.core.$strip>; export interface ApiSuccess { ok: true; data: T; cursor?: { next: string | null; has_more: boolean; }; } export interface ApiError { ok: false; error: { code: string; message: string; }; } export type ApiResponse = ApiSuccess | ApiError; export type InboxResponse = z.infer; //# sourceMappingURL=api.d.ts.map