fuc-new/doc/node_modules/@vuepress/plugin-seo/lib/node/getOGPInfo.d.ts
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

12 lines
658 B
TypeScript

import type { App } from 'vuepress/core';
import type { ExtendPage, SeoContent } from '../typings/index.js';
import type { SeoPluginOptions } from './options.js';
export declare const getOGPInfo: (page: ExtendPage, app: App, { isArticle, author: globalAuthor, hostname, fallBackImage, restrictions, twitterID, }: {
isArticle: Exclude<SeoPluginOptions["isArticle"], undefined>;
author?: SeoPluginOptions["author"];
hostname: SeoPluginOptions["hostname"];
fallBackImage: Exclude<SeoPluginOptions["fallBackImage"], undefined>;
restrictions?: SeoPluginOptions["restrictions"];
twitterID?: SeoPluginOptions["twitterID"];
}) => SeoContent;