import { z } from 'zod'; /** * Zod schema for Heartbeat object structure from Uptime Kuma */ export declare const HeartbeatSchema: z.ZodObject<{ status: z.ZodNumber; time: z.ZodString; msg: z.ZodString; important: z.ZodEffects, boolean, number | boolean>; id: z.ZodOptional; monitor_id: z.ZodOptional; ping: z.ZodOptional>; duration: z.ZodOptional; down_count: z.ZodOptional; retries: z.ZodOptional; end_time: z.ZodOptional; monitorID: z.ZodOptional; localDateTime: z.ZodOptional; timezone: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: number; msg: string; time: string; important: boolean; monitor_id?: number | undefined; id?: number | undefined; ping?: number | null | undefined; monitorID?: number | undefined; duration?: number | undefined; down_count?: number | undefined; retries?: number | undefined; end_time?: string | undefined; localDateTime?: string | undefined; timezone?: string | undefined; }, { status: number; msg: string; time: string; important: number | boolean; monitor_id?: number | undefined; id?: number | undefined; ping?: number | null | undefined; monitorID?: number | undefined; duration?: number | undefined; down_count?: number | undefined; retries?: number | undefined; end_time?: string | undefined; localDateTime?: string | undefined; timezone?: string | undefined; }>; /** * Heartbeat type inferred from the Zod schema */ export type Heartbeat = z.infer; /** * Heartbeat list structure - maps monitor IDs to heartbeats * When includeAll is true, returns arrays of heartbeats * When includeAll is false, returns only the most recent heartbeat */ export type HeartbeatList = T extends true ? { [monitorID: string]: Heartbeat[]; } : { [monitorID: string]: Heartbeat | undefined; }; //# sourceMappingURL=heartbeat.d.ts.map