import type { EventName } from '@ariestools/sdk'; import { zodAsFactory, zodIsFactory, zodToFactory } from '@ariestools/sdk'; import type { Payload } from '@xyo-network/sdk-protocol'; import * as z from 'zod/mini'; import type { ModuleIdentifier } from '../module-model/index.js'; export declare const SentinelAutomationSchema: 'network.xyo.automation' & { readonly __schema: true; }; export type SentinelAutomationSchema = typeof SentinelAutomationSchema; export declare const SentinelIntervalAutomationSchema: 'network.xyo.automation.interval' & { readonly __schema: true; }; export type SentinelIntervalAutomationSchema = typeof SentinelIntervalAutomationSchema; export declare const SentinelModuleEventAutomationSchema: 'network.xyo.automation.event.module' & { readonly __schema: true; }; export type SentinelModuleEventAutomationSchema = typeof SentinelModuleEventAutomationSchema; export type SentinelBaseAutomationPayload = Payload<{ type?: 'interval' | 'event'; } & T>; /** Settings for an Interval Automation */ export declare const SentinelIntervalAutomationZod: z.ZodMiniObject<{ end: z.ZodMiniOptional>; frequency: z.ZodMiniOptional>; frequencyUnits: z.ZodMiniOptional, z.ZodMiniLiteral<'minute'>, z.ZodMiniLiteral<'hour'>, z.ZodMiniLiteral<'day'>, z.ZodMiniLiteral<'millis'>]>>; remaining: z.ZodMiniOptional>; schema: z.ZodMiniLiteral; start: z.ZodMiniOptional>; type: z.ZodMiniLiteral<'interval'>; }, z.core.$strip>; export type SentinelIntervalAutomationPayload = z.infer; export declare const isSentinelIntervalAutomation: ReturnType>; export declare const asSentinelIntervalAutomation: ReturnType>; export declare const toSentinelIntervalAutomation: ReturnType>; /** Settings for an Module Event Automation */ export declare const SentinelModuleEventAutomationZod: z.ZodMiniObject<{ eventName: z.ZodMiniCustom; schema: z.ZodMiniLiteral; source: z.ZodMiniCustom; type: z.ZodMiniLiteral<'event'>; }, z.core.$strip>; export type SentinelModuleEventAutomationPayload = z.infer; export declare const isSentinelModuleEventAutomation: ReturnType>; export declare const asSentinelModuleEventAutomation: ReturnType>; export declare const toSentinelModuleEventAutomation: ReturnType>; /** Settings for an Automation */ export type SentinelAutomationPayload = Payload; //# sourceMappingURL=Automation.d.ts.map