UNPKG

@unhead/schema-org

Version:

Unhead Schema.org for Simple and Automated Google Rich Results

22 lines (19 loc) 938 B
import * as unhead_types from 'unhead/types'; import { M as MetaInput } from './schema-org.CFcsqFfN.mjs'; interface PluginSchemaOrgOptions { minify?: boolean; trailingSlash?: boolean; } declare function UnheadSchemaOrg(options?: PluginSchemaOrgOptions): unhead_types.HeadPluginInput; /** * @deprecated Providing a plugin is no longer required. You can remove this code. */ declare function PluginSchemaOrg(options?: PluginSchemaOrgOptions & { resolveMeta?: () => Record<string, any>; }): unhead_types.HeadPluginInput; /** * @deprecated Providing a plugin is no longer required. You can remove this code. */ declare function SchemaOrgUnheadPlugin(config: MetaInput, meta: () => Partial<MetaInput> | Promise<Partial<MetaInput>>, options?: PluginSchemaOrgOptions): unhead_types.HeadPluginInput; export { PluginSchemaOrg as P, SchemaOrgUnheadPlugin as S, UnheadSchemaOrg as U }; export type { PluginSchemaOrgOptions as a };