import { AnyProperty } from './utils'; import { ImportConfig } from './import-config'; export type ContentTypeStruct = { uid: string; title: string; description: string; schema: AnyProperty[]; options: AnyProperty; } & AnyProperty; export type ImportHelperMethodsConfig = { lookupAssets: (data: Record, mappedAssetUids: Record, mappedAssetUrls: Record, assetUidMapperPath: string, installedExtensions: Record[]) => any; lookupExtension?: (config: ImportConfig, schema: any, preserveStackVersion: any, installedExtensions: any) => void; restoreJsonRteEntryRefs: (entry: Record, sourceStackEntry: any, ctSchema: any, { uidMapper, mappedAssetUids, mappedAssetUrls }: any) => Record; lookupEntries: (data: { content_type: any; entry: any; }, mappedUids: Record, uidMapperPath: string) => any; lookUpTerms: (ctSchema: Record[], entry: any, taxonomiesAndTermData: Record, importConfig: ImportConfig) => void; };