import { ICmsSDK } from '../core/sdk.type'; import { ContentRule, ContentRuleListResponse, RuleCreatePayload, RuleListQuery, RuleUpdatePayload, SignalFireContext, SignalFireResponse } from '../services/rules/rules.type'; /** * Rules store — `ContentRule` CRUD (`/api/v1/rules`). Serves both FEAT-002 * (`conditionType: 'llm_agent'` skills) and FEAT-004 (expression/chain). * * All field names use camelCase to match the backend API response. */ export declare const useRulesStore: import('pinia').StoreDefinition<"cms-rules", Pick<{ items: import('vue').Ref<{ id: number; uuid: string; name: string; description?: string | null | undefined; typeName?: string | null | undefined; codeType: string; conditionCode?: string | null | undefined; conditionType?: import('..').ConditionType | undefined; conditionExpr?: string | null | undefined; trigger: Record; executionType: import('..').RuleExecutionType; executionParams?: (Record | null) | undefined; priority: number; isActive: boolean; timeoutSeconds: number; cronSchedule?: string | null | undefined; cronTimezone?: string | null | undefined; nextTriggerAt?: string | null | undefined; lastFiredAt?: string | null | undefined; packId?: string | null | undefined; createdBy?: number | null | undefined; updatedBy?: number | null | undefined; createdAt?: string | null | undefined; updatedAt?: string | null | undefined; }[], ContentRule[] | { id: number; uuid: string; name: string; description?: string | null | undefined; typeName?: string | null | undefined; codeType: string; conditionCode?: string | null | undefined; conditionType?: import('..').ConditionType | undefined; conditionExpr?: string | null | undefined; trigger: Record; executionType: import('..').RuleExecutionType; executionParams?: (Record | null) | undefined; priority: number; isActive: boolean; timeoutSeconds: number; cronSchedule?: string | null | undefined; cronTimezone?: string | null | undefined; nextTriggerAt?: string | null | undefined; lastFiredAt?: string | null | undefined; packId?: string | null | undefined; createdBy?: number | null | undefined; updatedBy?: number | null | undefined; createdAt?: string | null | undefined; updatedAt?: string | null | undefined; }[]>; total: import('vue').Ref; isLoading: import('vue').Ref; loadError: import('vue').Ref; lastQuery: import('vue').Ref<{ sourceType?: string | undefined; executionType?: import('..').RuleExecutionType | undefined; typeName?: string | undefined; isActive?: boolean | undefined; packId?: string | undefined; format?: import('..').SerializationFormat | undefined; }, Partial | { sourceType?: string | undefined; executionType?: import('..').RuleExecutionType | undefined; typeName?: string | undefined; isActive?: boolean | undefined; packId?: string | undefined; format?: import('..').SerializationFormat | undefined; }>; selectedRule: import('vue').Ref<{ id: number; uuid: string; name: string; description?: string | null | undefined; typeName?: string | null | undefined; codeType: string; conditionCode?: string | null | undefined; conditionType?: import('..').ConditionType | undefined; conditionExpr?: string | null | undefined; trigger: Record; executionType: import('..').RuleExecutionType; executionParams?: (Record | null) | undefined; priority: number; isActive: boolean; timeoutSeconds: number; cronSchedule?: string | null | undefined; cronTimezone?: string | null | undefined; nextTriggerAt?: string | null | undefined; lastFiredAt?: string | null | undefined; packId?: string | null | undefined; createdBy?: number | null | undefined; updatedBy?: number | null | undefined; createdAt?: string | null | undefined; updatedAt?: string | null | undefined; } | null, ContentRule | { id: number; uuid: string; name: string; description?: string | null | undefined; typeName?: string | null | undefined; codeType: string; conditionCode?: string | null | undefined; conditionType?: import('..').ConditionType | undefined; conditionExpr?: string | null | undefined; trigger: Record; executionType: import('..').RuleExecutionType; executionParams?: (Record | null) | undefined; priority: number; isActive: boolean; timeoutSeconds: number; cronSchedule?: string | null | undefined; cronTimezone?: string | null | undefined; nextTriggerAt?: string | null | undefined; lastFiredAt?: string | null | undefined; packId?: string | null | undefined; createdBy?: number | null | undefined; updatedBy?: number | null | undefined; createdAt?: string | null | undefined; updatedAt?: string | null | undefined; } | null>; isEmpty: import('vue').ComputedRef; activeRules: import('vue').ComputedRef<{ id: number; uuid: string; name: string; description?: string | null | undefined; typeName?: string | null | undefined; codeType: string; conditionCode?: string | null | undefined; conditionType?: import('..').ConditionType | undefined; conditionExpr?: string | null | undefined; trigger: Record; executionType: import('..').RuleExecutionType; executionParams?: (Record | null) | undefined; priority: number; isActive: boolean; timeoutSeconds: number; cronSchedule?: string | null | undefined; cronTimezone?: string | null | undefined; nextTriggerAt?: string | null | undefined; lastFiredAt?: string | null | undefined; packId?: string | null | undefined; createdBy?: number | null | undefined; updatedBy?: number | null | undefined; createdAt?: string | null | undefined; updatedAt?: string | null | undefined; }[]>; setSdk: (instance: ICmsSDK) => void; fetch: (query?: Partial) => Promise; select: (uuid: string | null) => void; create: (payload: RuleCreatePayload) => Promise; update: (uuid: string, payload: RuleUpdatePayload) => Promise; toggle: (uuid: string, active: boolean) => Promise; remove: (uuid: string) => Promise; signalFire: (signalName: string, context: SignalFireContext, options?: { timeoutMs?: number; }) => Promise; }, "total" | "items" | "isLoading" | "loadError" | "lastQuery" | "selectedRule">, Pick<{ items: import('vue').Ref<{ id: number; uuid: string; name: string; description?: string | null | undefined; typeName?: string | null | undefined; codeType: string; conditionCode?: string | null | undefined; conditionType?: import('..').ConditionType | undefined; conditionExpr?: string | null | undefined; trigger: Record; executionType: import('..').RuleExecutionType; executionParams?: (Record | null) | undefined; priority: number; isActive: boolean; timeoutSeconds: number; cronSchedule?: string | null | undefined; cronTimezone?: string | null | undefined; nextTriggerAt?: string | null | undefined; lastFiredAt?: string | null | undefined; packId?: string | null | undefined; createdBy?: number | null | undefined; updatedBy?: number | null | undefined; createdAt?: string | null | undefined; updatedAt?: string | null | undefined; }[], ContentRule[] | { id: number; uuid: string; name: string; description?: string | null | undefined; typeName?: string | null | undefined; codeType: string; conditionCode?: string | null | undefined; conditionType?: import('..').ConditionType | undefined; conditionExpr?: string | null | undefined; trigger: Record; executionType: import('..').RuleExecutionType; executionParams?: (Record | null) | undefined; priority: number; isActive: boolean; timeoutSeconds: number; cronSchedule?: string | null | undefined; cronTimezone?: string | null | undefined; nextTriggerAt?: string | null | undefined; lastFiredAt?: string | null | undefined; packId?: string | null | undefined; createdBy?: number | null | undefined; updatedBy?: number | null | undefined; createdAt?: string | null | undefined; updatedAt?: string | null | undefined; }[]>; total: import('vue').Ref; isLoading: import('vue').Ref; loadError: import('vue').Ref; lastQuery: import('vue').Ref<{ sourceType?: string | undefined; executionType?: import('..').RuleExecutionType | undefined; typeName?: string | undefined; isActive?: boolean | undefined; packId?: string | undefined; format?: import('..').SerializationFormat | undefined; }, Partial | { sourceType?: string | undefined; executionType?: import('..').RuleExecutionType | undefined; typeName?: string | undefined; isActive?: boolean | undefined; packId?: string | undefined; format?: import('..').SerializationFormat | undefined; }>; selectedRule: import('vue').Ref<{ id: number; uuid: string; name: string; description?: string | null | undefined; typeName?: string | null | undefined; codeType: string; conditionCode?: string | null | undefined; conditionType?: import('..').ConditionType | undefined; conditionExpr?: string | null | undefined; trigger: Record; executionType: import('..').RuleExecutionType; executionParams?: (Record | null) | undefined; priority: number; isActive: boolean; timeoutSeconds: number; cronSchedule?: string | null | undefined; cronTimezone?: string | null | undefined; nextTriggerAt?: string | null | undefined; lastFiredAt?: string | null | undefined; packId?: string | null | undefined; createdBy?: number | null | undefined; updatedBy?: number | null | undefined; createdAt?: string | null | undefined; updatedAt?: string | null | undefined; } | null, ContentRule | { id: number; uuid: string; name: string; description?: string | null | undefined; typeName?: string | null | undefined; codeType: string; conditionCode?: string | null | undefined; conditionType?: import('..').ConditionType | undefined; conditionExpr?: string | null | undefined; trigger: Record; executionType: import('..').RuleExecutionType; executionParams?: (Record | null) | undefined; priority: number; isActive: boolean; timeoutSeconds: number; cronSchedule?: string | null | undefined; cronTimezone?: string | null | undefined; nextTriggerAt?: string | null | undefined; lastFiredAt?: string | null | undefined; packId?: string | null | undefined; createdBy?: number | null | undefined; updatedBy?: number | null | undefined; createdAt?: string | null | undefined; updatedAt?: string | null | undefined; } | null>; isEmpty: import('vue').ComputedRef; activeRules: import('vue').ComputedRef<{ id: number; uuid: string; name: string; description?: string | null | undefined; typeName?: string | null | undefined; codeType: string; conditionCode?: string | null | undefined; conditionType?: import('..').ConditionType | undefined; conditionExpr?: string | null | undefined; trigger: Record; executionType: import('..').RuleExecutionType; executionParams?: (Record | null) | undefined; priority: number; isActive: boolean; timeoutSeconds: number; cronSchedule?: string | null | undefined; cronTimezone?: string | null | undefined; nextTriggerAt?: string | null | undefined; lastFiredAt?: string | null | undefined; packId?: string | null | undefined; createdBy?: number | null | undefined; updatedBy?: number | null | undefined; createdAt?: string | null | undefined; updatedAt?: string | null | undefined; }[]>; setSdk: (instance: ICmsSDK) => void; fetch: (query?: Partial) => Promise; select: (uuid: string | null) => void; create: (payload: RuleCreatePayload) => Promise; update: (uuid: string, payload: RuleUpdatePayload) => Promise; toggle: (uuid: string, active: boolean) => Promise; remove: (uuid: string) => Promise; signalFire: (signalName: string, context: SignalFireContext, options?: { timeoutMs?: number; }) => Promise; }, "isEmpty" | "activeRules">, Pick<{ items: import('vue').Ref<{ id: number; uuid: string; name: string; description?: string | null | undefined; typeName?: string | null | undefined; codeType: string; conditionCode?: string | null | undefined; conditionType?: import('..').ConditionType | undefined; conditionExpr?: string | null | undefined; trigger: Record; executionType: import('..').RuleExecutionType; executionParams?: (Record | null) | undefined; priority: number; isActive: boolean; timeoutSeconds: number; cronSchedule?: string | null | undefined; cronTimezone?: string | null | undefined; nextTriggerAt?: string | null | undefined; lastFiredAt?: string | null | undefined; packId?: string | null | undefined; createdBy?: number | null | undefined; updatedBy?: number | null | undefined; createdAt?: string | null | undefined; updatedAt?: string | null | undefined; }[], ContentRule[] | { id: number; uuid: string; name: string; description?: string | null | undefined; typeName?: string | null | undefined; codeType: string; conditionCode?: string | null | undefined; conditionType?: import('..').ConditionType | undefined; conditionExpr?: string | null | undefined; trigger: Record; executionType: import('..').RuleExecutionType; executionParams?: (Record | null) | undefined; priority: number; isActive: boolean; timeoutSeconds: number; cronSchedule?: string | null | undefined; cronTimezone?: string | null | undefined; nextTriggerAt?: string | null | undefined; lastFiredAt?: string | null | undefined; packId?: string | null | undefined; createdBy?: number | null | undefined; updatedBy?: number | null | undefined; createdAt?: string | null | undefined; updatedAt?: string | null | undefined; }[]>; total: import('vue').Ref; isLoading: import('vue').Ref; loadError: import('vue').Ref; lastQuery: import('vue').Ref<{ sourceType?: string | undefined; executionType?: import('..').RuleExecutionType | undefined; typeName?: string | undefined; isActive?: boolean | undefined; packId?: string | undefined; format?: import('..').SerializationFormat | undefined; }, Partial | { sourceType?: string | undefined; executionType?: import('..').RuleExecutionType | undefined; typeName?: string | undefined; isActive?: boolean | undefined; packId?: string | undefined; format?: import('..').SerializationFormat | undefined; }>; selectedRule: import('vue').Ref<{ id: number; uuid: string; name: string; description?: string | null | undefined; typeName?: string | null | undefined; codeType: string; conditionCode?: string | null | undefined; conditionType?: import('..').ConditionType | undefined; conditionExpr?: string | null | undefined; trigger: Record; executionType: import('..').RuleExecutionType; executionParams?: (Record | null) | undefined; priority: number; isActive: boolean; timeoutSeconds: number; cronSchedule?: string | null | undefined; cronTimezone?: string | null | undefined; nextTriggerAt?: string | null | undefined; lastFiredAt?: string | null | undefined; packId?: string | null | undefined; createdBy?: number | null | undefined; updatedBy?: number | null | undefined; createdAt?: string | null | undefined; updatedAt?: string | null | undefined; } | null, ContentRule | { id: number; uuid: string; name: string; description?: string | null | undefined; typeName?: string | null | undefined; codeType: string; conditionCode?: string | null | undefined; conditionType?: import('..').ConditionType | undefined; conditionExpr?: string | null | undefined; trigger: Record; executionType: import('..').RuleExecutionType; executionParams?: (Record | null) | undefined; priority: number; isActive: boolean; timeoutSeconds: number; cronSchedule?: string | null | undefined; cronTimezone?: string | null | undefined; nextTriggerAt?: string | null | undefined; lastFiredAt?: string | null | undefined; packId?: string | null | undefined; createdBy?: number | null | undefined; updatedBy?: number | null | undefined; createdAt?: string | null | undefined; updatedAt?: string | null | undefined; } | null>; isEmpty: import('vue').ComputedRef; activeRules: import('vue').ComputedRef<{ id: number; uuid: string; name: string; description?: string | null | undefined; typeName?: string | null | undefined; codeType: string; conditionCode?: string | null | undefined; conditionType?: import('..').ConditionType | undefined; conditionExpr?: string | null | undefined; trigger: Record; executionType: import('..').RuleExecutionType; executionParams?: (Record | null) | undefined; priority: number; isActive: boolean; timeoutSeconds: number; cronSchedule?: string | null | undefined; cronTimezone?: string | null | undefined; nextTriggerAt?: string | null | undefined; lastFiredAt?: string | null | undefined; packId?: string | null | undefined; createdBy?: number | null | undefined; updatedBy?: number | null | undefined; createdAt?: string | null | undefined; updatedAt?: string | null | undefined; }[]>; setSdk: (instance: ICmsSDK) => void; fetch: (query?: Partial) => Promise; select: (uuid: string | null) => void; create: (payload: RuleCreatePayload) => Promise; update: (uuid: string, payload: RuleUpdatePayload) => Promise; toggle: (uuid: string, active: boolean) => Promise; remove: (uuid: string) => Promise; signalFire: (signalName: string, context: SignalFireContext, options?: { timeoutMs?: number; }) => Promise; }, "create" | "update" | "select" | "toggle" | "remove" | "setSdk" | "fetch" | "signalFire">>; export type { ContentRuleListResponse }; //# sourceMappingURL=rules.d.ts.map