import { Scanner, Progress, ScannerFactory } from '../scanner.js'; import { Event } from '../../event.js'; /** * Branch scanner that delegates to a child scanner, emitting its output * only when the observed start event satisfies `predicate`. */ export declare class Where implements Scanner { private child; readonly predicate: (start: Event.Start) => boolean; id: string; /** * NOTE: The original branch stored `predicate` but never applied it. * Preserving that shape here; the filter semantics need to be defined * once Search's branch-processing loop is rewritten (task #4). */ constructor(child: Scanner, predicate: (start: Event.Start) => boolean); get complete(): boolean; get lastclosed(): number; get lastreceived(): number; reindex(newIndex: number): void; shift(event: Event): Progress; static factory(child: ScannerFactory, condition: (start: Event.Start) => boolean): ScannerFactory; } //# sourceMappingURL=where.d.ts.map