import { AutomationTriggerMatch, AutomationTriggerEventResource, AutomationTriggerEventResourceLabel, AutomationTriggerEventResourceRole, EventResourceValue } from '../../automations/types/api/triggers';
import { AutomationTrigger } from '../../automations/types/triggers';
export declare function toResourceId(resource: AutomationTriggerEventResource, values: string[]): string | string[];
export declare function fromResourceId(resource: AutomationTriggerEventResource, value: EventResourceValue): string[];
export declare function fromResourceName(match: AutomationTriggerMatch, role: AutomationTriggerEventResourceRole): string[];
export declare function toStateNameEvents(stateTypes: string[]): string[];
export declare function fromStateNameEvents(events: string[]): string[];
export declare function toMatchRelatedId(role: AutomationTriggerEventResourceRole, id: string | string[]): AutomationTriggerMatch | undefined;
export declare function toMatchRelatedName(role: AutomationTriggerEventResourceRole, name: string | string[]): AutomationTriggerMatch | undefined;
export declare function isMatchResource(trigger: AutomationTrigger, predicate: (resourceIds: string[]) => boolean): boolean;
export declare function isForEachResource(trigger: AutomationTrigger, resource: AutomationTriggerEventResourceLabel): boolean;
export declare function isExpectResource(trigger: AutomationTrigger, predicate: (resourceIds: string[]) => boolean): boolean;
export declare function isAfterResource(trigger: AutomationTrigger, predicate: (resourceIds: string[]) => boolean): boolean;
