jccp_a/vuepress/node_modules/@vuepress/plugin-seo/lib/node/getJSONLDInfo.d.ts
hellcat ac91e1fbe4 1
2025-11-12 17:57:30 +08:00

10 lines
612 B
TypeScript

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