import { R as ReferenceRecord, C as Config } from './config-B-kbeoff.js'; import '@tokens-studio/schema-validation'; /** * Parsing mode — determines how the lexer and parser behave. * * - `"inline"` — Expression-only mode for token `$value` fields. * Enables greedy strings (URLs, dotted paths parsed as single tokens). * No statements (variable, if, while, etc.). * * - `"script"` — Full statement mode for schema/function bodies. * Standard lexing (`:`, `.`, `/` produce separate tokens). */ type ParseMode = "inline" | "script"; type ReplMode = ParseMode; interface ReplOptions { mode?: ReplMode; schemas?: string[]; references?: ReferenceRecord; } /** * Start interactive REPL mode for TokenScript */ declare function startRepl(options?: ReplOptions): Promise; declare function interpretExpression(code: string, references: ReferenceRecord, config: Config | undefined, mode: ParseMode): string | undefined; export { type ReplMode, type ReplOptions, interpretExpression, startRepl };