@unhead/schema-org
Version:
Unhead Schema.org for Simple and Automated Google Rich Results
22 lines (19 loc) • 937 B
TypeScript
import * as unhead_types from 'unhead/types';
import { M as MetaInput } from './schema-org.D5CDiwX5.js';
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 { SchemaOrgUnheadPlugin as S, UnheadSchemaOrg as U, PluginSchemaOrg as a };
export type { PluginSchemaOrgOptions as P };