import { Nullable } from './Typescript-utils'; export declare type PostType = 'youtube' | 'twitter' | 'public_post' | 'tumblr' | 'google_news' | 'custom' | 'rss' | 'facebook' | 'instagram_business' | 'linkedin' | 'sms' | 'flickr' | 'slack' | 'review_trackers' | 'tiktok' | 'pinterest' | 'spark' | 'hootsuite' | 'form_submission' | 'reviews' | 'email'; export declare type PublicPostType = 'post' | 'reviews'; export interface IPost { attributes: { author: Nullable; external_id: string; highlighted: boolean; alternative_text: Nullable; image_url: Nullable; video_url: Nullable; pinned: boolean; published_at: string; tags: string[]; text: string; title: string; type: PostType; url: string; metadata: IMetadata; rating: Nullable; media_type: any; }; id: string; type: string; relationships: IRelationships; } export interface IAuthor { image_url: Nullable; name: string; url: string; username: string; } interface IMetadata { sentiment: string; language: string; image_phash?: string; geo_city?: string; geo_country?: string; geo_country_code?: string; geo_latitude?: string; geo_longitude?: string; geo_region?: string; } export interface IProductTagsRelationships { id: string; type: string; } interface IRelationships { cta_associations: { data: ReadonlyArray<{ type: 'cta_association'; id: string; }>; }; product_tags: { data: ReadonlyArray; }; } export interface IPostLinks { self: string; first: string; next?: string; previous?: string; } export interface IPostRequest { attributes: { status: string; }; id: string; type: string; } export {};