import { TokenStream } from '../classes/TokenStream'; import { ThinkBlock, DecoratorCall } from '../types/Ast.type'; export declare class ThinkBlockParser { /** * Parse a think block from the current stream position. * * @param stream Token stream positioned at the 'think' keyword * @param source Full source code string (needed for raw text body) * @param decorators Decorators collected before this block */ static parse(stream: TokenStream, source: string, decorators?: DecoratorCall[]): ThinkBlock; /** * Remove common leading whitespace from body lines. * This makes the raw text cleaner for prompting while preserving * relative indentation within the body. */ private static dedentBody; }