//#region src/mdx-plugins/remark-og.d.ts /** * Remark plugin that augments frontmatter with Open Graph metadata. * * Runs between remark-frontmatter and remark-mdx-frontmatter. * Reads title/description from the YAML node and appends openGraph + twitter * fields so that remark-mdx-frontmatter exports them as part of `metadata`. * * Skips injection when frontmatter already has `openGraph:` or `ogImage:`, so * pages can use static OG images from frontmatter instead of the dynamic endpoint. */ interface RemarkOgOptions { endpoint?: string; } declare function remarkOg(options?: RemarkOgOptions): (tree: { children: Array<{ type: string; value: string; }>; }) => void; //#endregion export { remarkOg as default };