import { Rule, Info, Selector } from "./rule"; import { Context } from "./context"; export interface AutomationConfig { alias?: string; description?: string; trigger?: any[]; condition?: any[]; action?: any[]; } export interface AutomationPlaceholders { trigger?: any[]; condition?: any[]; action?: any[]; } export interface DeviceConfig { entity_id?: string; domain?: string; device_id?: string; type?: string; } export interface DeviceRangeConfig extends DeviceConfig { above?: string | number; below?: string | number; } export interface Placeholders { index?: number; fields: string[]; domains: string[]; device_classes?: string[]; name?: string; } export declare const getDevicePlaceholders: (domains: string | string[], selector?: Selector | undefined, deviceClasses?: string | string[] | undefined) => Placeholders; export declare const getFilterRangeConfig: (config: T, info: Info, context: Context) => T; export declare const getFilterRangeValue: (config: any, filter: any, info: any, context: any) => any; export declare const getFilterValue: (info: Info, context: Context) => any; export declare const convertRule: (rule: Rule, context?: Context) => Promise<{ automation: AutomationConfig; placeholders: AutomationPlaceholders; }>; //# sourceMappingURL=convert.d.ts.map