export type SystemSectionKind = 'daemon' | 'conditions' | 'events' | 'actions' | 'schedules' | 'triggers'; export type SystemParseIssue = { readonly section: 'document' | SystemSectionKind; readonly message: string; }; export type DaemonSpec = { readonly id: string; readonly description?: string; readonly command?: string; readonly args: readonly string[]; readonly cwd?: string; readonly env: Readonly>; readonly restartPolicy?: string; readonly notes: Readonly>; readonly extra: Readonly>; }; export type ConditionSpec = { readonly id: string; readonly description?: string; readonly expression?: string; readonly tags: readonly string[]; }; export type EventSpec = { readonly id: string; readonly when: readonly string[]; readonly description?: string; readonly tags: readonly string[]; }; export type ActionSpec = { readonly id: string; readonly type: string; readonly target?: string; readonly parameters: Readonly>; readonly description?: string; }; export type ScheduleSpec = { readonly id: string; readonly cron: string; readonly timezone?: string; readonly description?: string; }; export type TriggerSpec = { readonly id: string; readonly when: readonly string[]; readonly actions: readonly string[]; readonly description?: string; }; export type SystemDocument = { readonly metadata: Readonly>; readonly title: string; readonly daemon?: DaemonSpec; readonly conditions: readonly ConditionSpec[]; readonly events: readonly EventSpec[]; readonly actions: readonly ActionSpec[]; readonly schedules: readonly ScheduleSpec[]; readonly triggers: readonly TriggerSpec[]; }; export type SystemParseResult = { readonly document: SystemDocument; readonly issues: readonly SystemParseIssue[]; }; export declare const parseSystemMarkdown: (markdown: string) => SystemParseResult; export type SystemSectionSummary = { readonly section: SystemSectionKind; readonly paragraphs: readonly string[]; }; export declare const summarizeSystemSections: (markdown: string) => readonly SystemSectionSummary[]; //# sourceMappingURL=system.d.ts.map