Repository: withastro/astro
File: packages/astro/src/types/public/config.ts (TypeScript)

Code before:
		 * @docs
		 * @name image.experimentalDefaultStyles
		 * @type {boolean}
		 * @default `true`
		 * @description
		 * Whether to automatically add global styles to ensure that experimental images resize correctly. This is enabled by default, but can be disabled if you want to manage the styles yourself.
		 * This option is only used when the `experimental.responsiveImages` flag is enabled.
		 */
		experimentalDefaultStyles?: boolean;
	};

	/**
	 * @docs
	 * @kind heading
	 * @name SVG Options
	 */
	svg?: {
		/**
		 * @docs
		 * @name svg.optimize
		 * @type {boolean}
		 * @default `true`
		 * @description
		 * Whether to enable SVG optimization using SVGO during build time.
		 *
		 * When enabled, all imported SVG files will be optimized for smaller file sizes
		 * and better performance while maintaining visual quality.
		 */
		optimize: boolean;

		/**
		 * @docs
		 * @name svg.svgoConfig
		 * @type {SvgoConfig}
		 * @default `{}`
		 * @description
		 * Configuration object passed directly to SVGO for customizing SVG optimization.
		 *
		 * See [SVGO documentation](https://svgo.dev/) for available options.
		 *
		 * ```js
		 * {
		 *   svg: {
		 *     svgoConfig: {
		 *       plugins: [
		 *         'preset-default',
		 *         {
		 *           name: 'removeViewBox',
		 *           active: false
		 *         }
		 *       ]

Review comment (suggestion):
> all imported SVG files

Will this also apply to usage with Astro’s assets pipeline? For example usage like:

```astro
---
import { Image } from 'astro:assets';
import mySVG from './example.svg';
---

<Image src={mySVG} alt="Example SVG" />
```

Code after:
		 *   - End with '/**' to allow all sub-routes ('startsWith').
		 *   - End with '/*' to allow only one level of sub-route.

		 */
		remotePatterns?: Partial<RemotePattern>[];

		/**
		 * @docs
		 * @name image.responsiveStyles
		 * @type {boolean}
		 * @default `false`
		 * @version 5.10.0
		 * @description
		 * Whether to automatically add global styles for responsive images. You should enable this option unless you are styling the images yourself.
		 *
		 * This option is only used when `layout` is set to `constrained`, `full-width`, or `fixed` using the configuration or the `layout` prop on the image component.
		 *
		 * See [the images docs](https://docs.astro.build/en/guides/images/#responsive-image-styles) for more information.
		 */
		responsiveStyles?: boolean;
		/**
		 * @docs
		 * @name image.layout
		 * @type {ImageLayout}
		 * @default `undefined`
		 * @version 5.10.0
		 * @description
		 * The default layout type for responsive images. Can be overridden by the `layout` prop on the image component.
		 * - `constrained` - The image will scale to fit the container, maintaining its aspect ratio, but will not exceed the specified dimensions.
		 * - `fixed` - The image will maintain its original dimensions.
		 * - `full-width` - The image will scale to fit the container, maintaining its aspect ratio.
		 *
		 * See [the `layout` component property](https://docs.astro.build/en/reference/modules/astro-assets/#layout) for more details.
		 */
		layout?: ImageLayout | undefined;
		/**
		 * @docs
		 * @name image.objectFit
		 * @type {ImageFit}
		 * @default `"cover"`
		 * @version 5.10.0
		 * @description
		 * The [`object-fit` CSS property value](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit) for responsive images. Can be overridden by the `fit` prop on the image component.
		 * Requires a value for `layout` to be set.
		 *
		 * See [the `fit` component property](https://docs.astro.build/en/reference/modules/astro-assets/#fit) for more details.
		 */
		objectFit?: ImageFit;
		/**
		 * @docs
		 * @name image.objectPosition