import type { components } from "../lib/openapi.js"; import { type LocalFileEntry, type SkippedFile } from "./local-files.js"; import { type Configuration, type Resource, type ResourceGroup } from "./types.js"; type Automation = components["schemas"]["Automation"]; export declare function serialize(automation: Partial): string; /** * Order-independent representation for change detection; nested objects * (triggers, actions, filters) compare by value regardless of the key order * of the local JSON file vs. the API response. */ export declare function canonicalizeForDiff(automation: Partial): string; export declare function deserialize(content: string): { automation: Partial; isValid: boolean; error?: string; }; export declare const REMOTE_AUTOMATIONS_RESOURCE: Resource; export type LocalAutomationEntry = LocalFileEntry>; export declare function readLocalAutomations(configuration: Configuration): Promise<{ entries: LocalAutomationEntry[]; skipped: SkippedFile[]; }>; export declare const LOCAL_AUTOMATIONS_RESOURCE: Resource; export declare const AUTOMATIONS_RESOURCE: ResourceGroup; export {};