sanity-plugin-seo-tools
Version:
> Upgrading from V2 to V3 is a breaking change. The `seo-tools` input has been replaced by a SEO pane which needs to be set-up using a custom desk structure as per the installation guide. Secondly, the previously automatically provided fields (focus keywo
16 lines (15 loc) • 507 B
TypeScript
import { AssessmentRating, AssessmentResult } from 'yoastseo';
import { AssessmentCategory } from '../constants';
type Options = {
keyword: string;
url: string;
permalink: string;
title: string;
synonyms: string[];
description: string;
langCulture: string;
};
export declare const getYoastInsightsForContent: (YoastSEO: typeof import("yoastseo"), html: string, options: Options) => Record<AssessmentCategory, (AssessmentResult & {
rating: AssessmentRating;
})[]>;
export {};