import type { ContextType } from 'mzinga/dist/admin/components/utilities/DocumentInfo/types'; import type { Field, TextField, TextareaField, UploadField } from 'mzinga/dist/fields/config/types'; export type GenerateTitle = (args: { doc: T; locale?: string; } & ContextType) => Promise | string; export type GenerateDescription = (args: { doc: T; locale?: string; } & ContextType) => Promise | string; export type GenerateImage = (args: { doc: T; locale?: string; } & ContextType) => Promise | string; export type GenerateURL = (args: { doc: T; locale?: string; } & ContextType) => Promise | string; export interface PluginConfig { collections?: string[]; fieldOverrides?: { description?: Partial; image?: Partial; title?: Partial; }; fields?: Field[]; generateDescription?: GenerateDescription; generateImage?: GenerateImage; generateTitle?: GenerateTitle; generateURL?: GenerateURL; globals?: string[]; interfaceName?: string; tabbedUI?: boolean; uploadsCollection?: string; } export interface Meta { description?: string; image?: any; keywords?: string; title?: string; } //# sourceMappingURL=types.d.ts.map