import { XPEvent } from '../events'; import { ExpectPattern } from './types'; /** Whether `event` completes the step described by `expect` (type + payload match). */ export declare const expectMatches: (expect: ExpectPattern, event: XPEvent) => boolean; /** * A "wrong action" for the step: an event of the *expected type* whose payload * does not match (e.g. launched the wrong app). Events of unrelated types are * not wrong — they're just noise the learner is free to make. */ export declare const isWrongAction: (expect: ExpectPattern, event: XPEvent) => boolean; /** Score a completed Do-mode run: start at 100, penalize mistakes and hints. */ export declare const computeScore: (wrongActions: number, hintsUsed: number, timeMs: number) => number;