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

10 lines
564 B
TypeScript

import type { HeadConfig } from 'vuepress/core';
import type { ArticleSchema, BlogPostingSchema, SeoContent, WebPageSchema } from '../typings/index.js';
export declare const addOGP: (head: HeadConfig[], content: SeoContent) => void;
export declare const appendJSONLD: (head: HeadConfig[], content: ArticleSchema | BlogPostingSchema | WebPageSchema) => void;
export declare const appendCanonical: (head: HeadConfig[], url?: string | null) => void;
export declare const appendAlternate: (head: HeadConfig[], urls: {
lang: string;
path: string;
}[]) => void;