/** * Strip leaked reasoning prose from Nemotron-family models. * * NVIDIA's Nemotron Omni reasoning model emits its chain of thought as plain * text — without `` tags or a separate reasoning_content channel — so * the think-tag stripper can't catch it. The reasoning prose is then concatenated * directly with the answer (often without even a separator), e.g.: * * "The user asks: ... According to instructions, we must obey. Just output * the tokenOMNI_E2E_OK" * * This module detects the reasoning preamble (heuristic: leading sentence * matches a known meta-reasoning opener) and strips everything up to and * including the last "answer-introducer" phrase ("just output the token", * "the answer is:", "output:", etc.). The stripped portion is returned as * `thinking` so it can be routed to the thinking display channel; the * remainder is the user-facing `answer`. */ export declare function isNemotronProseModel(model: string): boolean; export declare function stripNemotronProse(text: string): { thinking: string; answer: string; };