declare enum ContentfulLocale { enUS = "en-US", es = "es", zh = "zh" } type LocalizedField = { [ContentfulLocale.enUS]: T; [ContentfulLocale.es]?: T; [ContentfulLocale.zh]?: T; }; type FileType = { url: string; details: { size: number; image?: { width: number; height: number; }; }; fileName: string; contentType: string; }; type AlignmentFieldType = 'Left' | 'Center' | 'Right'; type SysLink = { sys: { type: 'Link'; linkType: T; id: string; }; }; type LocalizedFieldType = any; type LocalizedFields = Record>; type ContentfulAsset = ContentfulContent<'Asset', AssetFields>; type ContentfulEntry = ContentfulContent<'Entry', T>; type ContentfulContent = { metadata: { tags: string[]; concepts: string[]; }; sys: { space: SysLink<'Space'>; id: string; type: X; createdAt: string; updatedAt: string; environment: SysLink<'Environment'>; publishedVersion: number; revision: number; } & (X extends 'Entry' ? { contentType: SysLink<'ContentType'>; } : {}); fields: T; }; type AssetFields = { title: LocalizedField; description: LocalizedField; file: LocalizedField; }; type ContentfulResponse = { items: Array>; includes: { Asset?: ContentfulAsset[]; Entry?: ContentfulEntry[]; }; }; export { AlignmentFieldType, FileType, LocalizedFields, ContentfulEntry, ContentfulAsset, ContentfulLocale, LocalizedField, SysLink, LocalizedFieldType, ContentfulResponse }; //# sourceMappingURL=client.d.ts.map