import type { RuleStore } from "../../corpus/store.ts"; import type { Stage } from "../types.ts"; import { type ClassifyConfig } from "./static-classify.ts"; /** * Answers that are a row lookup, not a reasoning job. * * "What does rule 300.2 say?" and "Is this card banned?" both have an answer * sitting in a table. Reading it costs nothing, takes milliseconds, and cannot * be creatively wrong. Roughly one question in five is one of these. * * ONLY A STATICALLY SHAPED QUESTION TOUCHES THE DATA. The classifier runs first * and returns NONE for everything else, so the common case costs one regular * expression and stops. */ export type StaticStageOptions = { /** Patterns that vary by game. */ classify?: Partial; /** How long the card indexes are held before a reread. */ dataTtlSeconds?: number; }; export declare function staticAnswersStage(store: RuleStore, options?: StaticStageOptions): Stage; //# sourceMappingURL=static.d.ts.map