# ---------------------------------------------------------
# Do not modify this file. It was generated by `scripts/generate_typed_dicts.py`.
# ---------------------------------------------------------


from typing import TypedDict, Union

import google.genai.types
import PIL.Image


class SubmitInputArgs(TypedDict, total=False):
    model: str
    contents: Union[
        google.genai.types.Content,
        google.genai.types.ContentDict,
        str,
        PIL.Image.Image,
        google.genai.types.File,
        google.genai.types.FileDict,
        google.genai.types.Part,
        google.genai.types.PartDict,
        list[
            Union[
                str,
                PIL.Image.Image,
                google.genai.types.File,
                google.genai.types.FileDict,
                google.genai.types.Part,
                google.genai.types.PartDict,
            ]
        ],
        list[
            Union[
                google.genai.types.Content,
                google.genai.types.ContentDict,
                str,
                PIL.Image.Image,
                google.genai.types.File,
                google.genai.types.FileDict,
                google.genai.types.Part,
                google.genai.types.PartDict,
                list[
                    Union[
                        str,
                        PIL.Image.Image,
                        google.genai.types.File,
                        google.genai.types.FileDict,
                        google.genai.types.Part,
                        google.genai.types.PartDict,
                    ]
                ],
            ]
        ],
    ]
    config: Union[
        google.genai.types.GenerateContentConfig,
        google.genai.types.GenerateContentConfigDict,
        None,
    ]
