declare module '*.css' {
  const content: string
  export default content
}

/**
 * Type declarations for asset imports.
 *
 * We declare these as `unknown` because different bundlers transform asset imports differently.
 * Some return strings (Vite, webpack with file-loader), Next.js returns `StaticImageData` objects,
 * etc. Use the `getAssetUrl` util from '@graphprotocol/gds-react/utils' to extract the URL string
 * from the import.
 */

declare module '*.png' {
  const value: unknown
  export default value
}

declare module '*.jpg' {
  const value: unknown
  export default value
}

declare module '*.jpeg' {
  const value: unknown
  export default value
}

declare module '*.svg' {
  const value: unknown
  export default value
}

declare module '*.gif' {
  const value: unknown
  export default value
}

declare module '*.webp' {
  const value: unknown
  export default value
}
