declare const mediumCode = "class HelloWorld {\n    private String message;\n    \n    public HelloWorld(String message) {\n        this.message = message;\n    }\n    \n    public void greet() {\n        System.out.println(\"Hello, World!\");\n        System.out.println(this.message);\n    }\n    \n    public static void main(String[] args) {\n        HelloWorld hw = new HelloWorld(\"Welcome to Java!\");\n        hw.greet();\n    }\n}";
declare const longExpandableCode = "from datetime import datetime, timedelta\nfrom typing import Dict, List, Optional\nfrom dataclasses import dataclass\n\n@dataclass\nclass Book:\n    title: str\n    author: str\n    isbn: str\n    checked_out: bool = False\n    due_date: Optional[datetime] = None\n\nclass Library:\n    def __init__(self):\n        self.books: Dict[str, Book] = {}\n        self.checkouts: Dict[str, List[str]] = {}  # patron -> list of ISBNs\n\n    def add_book(self, book: Book) -> None:\n        if book.isbn in self.books:\n            raise ValueError(f\"Book with ISBN {book.isbn} already exists\")\n        self.books[book.isbn] = book\n\n    def checkout_book(self, isbn: str, patron: str, days: int = 14) -> None:\n        if patron not in self.checkouts:\n            self.checkouts[patron] = []\n\n        book = self.books.get(isbn)\n        if not book:\n            raise ValueError(\"Book not found\")\n\n        if book.checked_out:\n            raise ValueError(\"Book is already checked out\")\n\n        if len(self.checkouts[patron]) >= 3:\n            raise ValueError(\"Patron has reached checkout limit\")\n\n        book.checked_out = True\n        book.due_date = datetime.now() + timedelta(days=days)\n        self.checkouts[patron].append(isbn)\n\n    def return_book(self, isbn: str) -> float:\n        book = self.books.get(isbn)\n        if not book or not book.checked_out:\n            raise ValueError(\"Book not found or not checked out\")\n\n        late_fee = 0.0\n        if datetime.now() > book.due_date:\n            days_late = (datetime.now() - book.due_date).days\n            late_fee = days_late * 0.50\n\n        book.checked_out = False\n        book.due_date = None\n\n        # Remove from patron's checkouts\n        for patron, books in self.checkouts.items():\n            if isbn in books:\n                books.remove(isbn)\n                break\n\n        return late_fee";
declare const longSingleLineCode = "To denote a `word` or `phrase` as code, enclose it in backticks (`). The backtick ` is a typographical mark used mainly in computing. It is also known as backquote, grave, or grave accent. This line is intentionally very long to test wrapping behavior and horizontal scrolling.";
declare const singleLineCode = "To denote a `word` or `phrase` as code, enclose it in backticks (`)";
declare const diffCodeWithRemove = "function calculateTotal(items) {\n  let total = 0;\n  for (let i = 0; i < items.length; i++) { // [!code --]\n    total += items[i].price; // [!code --]\n  for (const item of items) { // [!code ++]\n    total += item.price; // [!code ++]\n    total += item.tax; // [!code ++]\n  }\n  return total;\n}\n\nfunction processOrder(order) {\n  const total = calculateTotal(order.items);\n  const discount = calculateDiscount(order); // [!code ++]\n  order.total = total - discount; // [!code ++]\n  order.total = total; // [!code --]\n  return order;\n}";
declare const simpleDiffCode = "console.log(\"Hello World\");\nconsole.log(\"Old message\"); // [!code --]\nconsole.log(\"New message\"); // [!code ++]\nconsole.log(\"End\");";
declare const complexDiffCode = "import React from 'react';\nimport { useState } from 'react'; // [!code --]\nimport { useState, useEffect } from 'react'; // [!code ++]\n\nfunction MyComponent() {\n  const [count, setCount] = useState(0);\n  const [isLoading, setIsLoading] = useState(false); // [!code ++]\n\n  useEffect(() => { // [!code ++]\n    setIsLoading(true); // [!code ++]\n    // Simulate async operation // [!code ++]\n    setTimeout(() => setIsLoading(false), 1000); // [!code ++]\n  }, []); // [!code ++]\n\n  return (\n    <div>\n      <h1>Count: {count}</h1> // [!code --]\n      <h1>{isLoading ? 'Loading...' : `Count: ${count}`}</h1> // [!code ++]\n      <button onClick={() => setCount(count + 1)}>\n        Increment\n      </button>\n    </div>\n  );\n}";
declare const getString: (tabIndex?: number, language?: string) => string;
declare const shortMultiLineCode = "function greet(name) {\n  console.log(\"Hello, \" + name + \"!\");\n  return true;\n}";
declare const shortMultiLineCodeTS = "function greet(name: string): boolean {\n  console.log(`Hello, ${name}!`);\n  return true;\n}";
declare const shortCode = "def greet(name):\n    print(f\"Hello, {name}!\")\n    return True";
export { mediumCode, longExpandableCode, longSingleLineCode, singleLineCode, diffCodeWithRemove, simpleDiffCode, complexDiffCode, getString, shortMultiLineCode, shortCode, shortMultiLineCodeTS, };
//# sourceMappingURL=story-utils.d.ts.map