Binary data with MIME type for Gemini API.
Base64 encoded binary data.
MIME type of the data.
Create a blob from a file path.
Create a new blob with base64 encoded data.
@type blob_data() :: String.t()
@type mime_type() :: String.t()
@type t() :: %Gemini.Types.Blob{data: String.t(), mime_type: String.t()}
@spec from_file(String.t()) :: {:ok, t()} | {:error, Gemini.Error.t()}
@spec new(String.t(), String.t()) :: t()