import { ImageOptions } from "./types-BGbFKpbi.js"; import { APIRoute } from "astro"; //#region src/endpoint.d.ts type Options = { /** * We don't just type this as `AstroComponentFactory` because astro typing is * hard to get right and simply importing a .astro file doesn't give you * something typed as a factory. */ template: unknown; /** * Custom "Content-Type" header, only used in SSR. Defaults to "image/png" */ contentType?: string; imageOptionOverrides?: Partial; }; declare function makeOpengraphDevEndpoint({ template, contentType }: Options): APIRoute; declare function makeOpengraphEndpoint({ template, imageOptionOverrides, contentType }: Options): APIRoute; //#endregion export { makeOpengraphDevEndpoint, makeOpengraphEndpoint }; //# sourceMappingURL=endpoint.d.ts.map