import type { JobRow } from "./protocol.js"; export interface Filter { /** M16: `#1234` or a pull request URL: the session working on it. */ pr?: { number: number; url?: string; }; states: string[]; /** M18: a: */ agents?: string[]; names: string[]; outputs: string[]; /** bare o: */ hasOutput: boolean; } /** The filter in the input, or undefined when the text is a task to dispatch. */ export declare function parseFilter(text: string): Filter | undefined; /** Every token kind must match; several values of one kind match any of them. */ export declare function matches(row: JobRow, f: Filter): boolean;