import type { Task, TagMatcher, WorkerMatchRule } from './types.js'; /** * Checks if a set of task tags matches a TagMatcher. * * - `all`: every tag in `all` must exist in taskTags * - `any`: at least one tag in `any` must exist in taskTags * - `none`: none of the tags in `none` may exist in taskTags * - Empty/undefined matcher matches everything * - Undefined taskTags treated as empty array * - Empty arrays in matcher fields are vacuous true */ export declare function matchesTag(taskTags: string[] | undefined, matcher: TagMatcher): boolean; /** * Checks if a task matches a WorkerMatchRule. * * - If rule has `taskTypes`: task.type must match using wildcard matching * - If rule has `tags`: use matchesTag * - Both conditions are AND'd * - Empty/no rule matches everything * - Task with no `type` does not match if rule has `taskTypes` */ export declare function matchesWorkerRule(task: Task, rule: WorkerMatchRule): boolean; //# sourceMappingURL=worker-matching.d.ts.map