"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from openrouter.types import BaseModel
from typing import Literal
from typing_extensions import TypedDict


URLCitationType = Literal["url_citation",]


class URLCitationTypedDict(TypedDict):
    end_index: int
    start_index: int
    title: str
    type: URLCitationType
    url: str


class URLCitation(BaseModel):
    end_index: int

    start_index: int

    title: str

    type: URLCitationType

    url: str
