/// import type { PluginObj, template as BabelTemplate, types as BabelTypes } from "@babel/core"; /** * This is a plugin that finds StaticImage components and injects the image props into the component. * These props contain the image URLs etc, and were created earlier in the build process */ export default function attrs({ types: t, template, }: { types: typeof BabelTypes; template: typeof BabelTemplate; }): PluginObj;