export declare enum ProcessorState { NONE = "none", REGEX_START = "regex", REGEX_FLAGS = "regex flags", REGEX_END = "regex end", RANGE_START = "range", RANGE_END = "range end", REPLACER_START = "replacer", REPLACER_END = "replacer end", DOUBLE_QUOTE_START = "double quote", DOUBLE_QUOTE_END = "double quote end", SINGLE_QUOTE_START = "single quote", SINGLE_QUOTE_END = "single quote end" } export interface Statement { type: T; value: T extends "range" | "replacer" ? string[] : string; } export interface TextProcessorOptions { cursorOffset?: number; } export declare class TextProcessor { protected Code: string; protected Options: TextProcessorOptions; protected ValidRegexFlags: string[]; protected CurrentState: ProcessorState; protected Cursor: number; protected Target: string; protected Statements: Statement[]; constructor(Code: string, Options?: TextProcessorOptions); exec(content: string, props?: Record): string | undefined; }