interface PreparedSource { source: string; lines: string[]; } export declare const MONTY_BOOTSTRAP_SOURCE = "import asyncio\n\ndef __fabric_validate(value, active, depth):\n if depth > 48:\n raise ValueError(\"Monty JSON value exceeds the depth limit\")\n kind = type(value)\n if value is None or kind is str or kind is bool:\n return value\n if kind is int:\n if value < -9007199254740991 or value > 9007199254740991:\n raise ValueError(\"Monty JSON integers must be safe integers\")\n return value\n if kind is float:\n if value != value or value == float(\"inf\") or value == float(\"-inf\"):\n raise ValueError(\"Monty JSON numbers must be finite\")\n return value\n if kind is not list and kind is not tuple and kind is not dict:\n raise TypeError(\"Monty boundary requires JSON-compatible values\")\n for previous in active:\n if value is previous:\n raise ValueError(\"Monty boundary cannot serialize cyclic values\")\n active.append(value)\n if kind is dict:\n for key, item in value.items():\n if type(key) is not str:\n raise TypeError(\"Monty JSON dictionary keys must be strings\")\n __fabric_validate(item, active, depth + 1)\n else:\n for item in value:\n __fabric_validate(item, active, depth + 1)\n active.pop()\n return value\n"; /** A lexical pass only: Monty's parser remains authoritative for Python syntax. */ export declare function prepareMontySource(code: string, payloads: Record): PreparedSource; export declare function montyErrorText(error: unknown, prepared?: PreparedSource): string; export {}; //# sourceMappingURL=monty-source.d.ts.map