import { AstroIntegration } from "astro"; //#region src/seo/types.d.ts type AstroOgSeoImageFormat = "png" | "jpeg" | "webp"; type AstroOgSeoImageOptions = { stylesheet?: string | string[]; outputDir?: string; width?: number; height?: number; format?: AstroOgSeoImageFormat; }; type AstroOgSeoOptions = { siteName: string; toolbar?: { enabled?: boolean; }; image?: false | AstroOgSeoImageOptions; }; type OgSeoAlternate = { href: string | URL; hreflang: string; }; type OgSeoExternalImage = { url: string | URL; alt?: string; width?: number; height?: number; type?: string; }; type OgSeoArticle = { publishedTime: Date | string; modifiedTime?: Date | string; authors?: string[]; section?: string; tags?: string[]; }; type OgSeoTwitter = { card?: "summary" | "summary_large_image"; site?: string; creator?: string; }; type OgSeoProps = { title: string; description?: string; canonical?: string | URL; lang?: string; robots?: string; alternates?: OgSeoAlternate[]; alternateLocales?: string[]; type?: "website" | "article"; image?: OgSeoExternalImage; generatedImageAlt?: string; article?: OgSeoArticle; twitter?: OgSeoTwitter; }; type ResolvedAstroOgSeoOptions = { siteName: string; site: string; outDir: string; buildOutput: "static" | "server"; toolbarEnabled: boolean; image: false | { stylesheet: string; outputDir: string; width: number; height: number; format: AstroOgSeoImageFormat; }; }; //#endregion //#region src/integration.d.ts declare function astroOgSeo(options: AstroOgSeoOptions): AstroIntegration; //#endregion //#region src/image/paths.d.ts declare function getOgImagePathname(pathname: string, config: Pick): string; //#endregion //#region src/image/server.d.ts declare function cacheServerOgImage(pathname: string, image: Uint8Array): void; declare function getServerOgImage(pathname: string): any; //#endregion //#region src/image/render.d.ts declare function renderOgImage(html: string, config: Pick): Promise | Uint8Array>; //#endregion export { type AstroOgSeoImageFormat, type AstroOgSeoImageOptions, type AstroOgSeoOptions, type OgSeoAlternate, type OgSeoArticle, type OgSeoExternalImage, type OgSeoProps, type OgSeoTwitter, astroOgSeo, astroOgSeo as default, cacheServerOgImage, getOgImagePathname, getServerOgImage, renderOgImage };