import { Flag, Markup, PublicationName, UUID, URL, ExpirableFlag, DataSource, CommentSortOrder, AudioNarration, ArticleSummarisation } from "../common"; import { Media, Image } from "./media"; import { Layout } from "./layout"; import { ArticleSlice } from "./slice"; import { Topic } from "./topic"; import { Author } from "./author"; import { Colour } from "./colour"; import { TextByline, AuthorByline } from "./bylines"; import { Tile } from "./tile"; import { Tag } from "./tag"; import { ArticleTopicConnection } from "./article-topic-connection"; import { ArticleSynonymConnection } from "./article-synonym-connection"; import { ArticleCategoryConnection } from "./article-category-connection"; import { LiveBlog } from "./live-blog"; import { StorylineMenu } from "./storyline-menu"; export type Article = { associatedDesks: string[] | null; authors: Author[]; byline: Markup | null; bylines: Array | null; backgroundColour: Colour | null; catchline: string | null; categoryConnection: ArticleCategoryConnection; commentsEnabled: boolean | null; commentsPreModerated: boolean; commentsSortOrder: CommentSortOrder | null; commentCount: number | null; commercialTags: string[] | null; commercialSectionTags: string[] | null; content: Markup | null; dataSource: DataSource; dropcapsDisabled: boolean; embeddedContent: EmbeddedContent | null; escenicId: number | null; hasVideo: boolean; headline: string | null; inlineImages: [Image]; id: UUID; isTeased: boolean; keywords: string[]; label: string | null; leadAsset: Media | null; listingAsset: Media | null; paywalledContent: Markup | null; parentId: UUID | null; publicationName: PublicationName; publishedTime: Date | null; firstPublishedTime: Date | null; savingEnabled: boolean; section: SectionName | null; seoDescription: string | null; commercialSection: string | null; sharingEnabled: boolean; shortIdentifier: string | null; slug: string | null; standfirst: string | null; strapline: string | null; updatedTime: Date | null; upNext: ArticleSlice | null; relatedArticles: Article[] | null; relatedArticlesLayout: Layout | null; relatedArticleSlice: ArticleSlice | null; tags: Tag[] | null; flags: Flag[] | null; expirableFlags: ExpirableFlag[] | null; shortHeadline: string | null; summary: Markup | null; synonyms: ArticleSynonymConnection; textColour: Colour | null; tiles: Tile[]; title: string | null; tokenisedUrl: URL | null; topics: Topic[]; topicConnection: ArticleTopicConnection; tagsUpdatedTime: Date | null; url: URL | null; categoryPath: string | null; template: ThemeTemplate | null; workDesk: WorkDeskName | null; longRead: boolean; carousel: Media[] | null; contentType: ArticleContentType | null; status: ArticleStatus | null; locale: ArticleLocale | null; editionClusterId: UUID | null; liveBlog: LiveBlog | null; storylineMenu: StorylineMenu | null; audioNarration?: AudioNarration | null; articleSummarisation?: ArticleSummarisation | null; shouldShowBylinesImages?: boolean | null; }; export type WorkDeskName = SectionName; export type SectionName = "bricksmortar" | "business" | "comment" | "culture" | "home" | "money" | "news" | "newsreview" | "puzzle" | "register" | "saturdayreview" | "sport" | "style" | "thedish" | "thegame" | "thesundaytimesmagazine" | "thetimesmagazine" | "times2" | "travel" | "weekend" | "world"; export type ThemeTemplate = "magazinecomment" | "magazinestandard" | "indepth" | "mainstandard" | "maincomment" | "mainvideo" | "mainrecipe" | "takeoverpage"; export type ContentArgs = { maxWordCount?: number; maxCharCount?: number; excludeLiveBlogEntries?: boolean; }; export type SummaryArgs = { maxCharCount?: number; }; export type TopicArgs = { maxCount?: number; }; export type EmbeddedContent = { content: string; head: string | null; scripts: EmbeddedComponentResource[]; }; export type EmbeddedComponentResource = { name: string; url: string; }; export type TileArgs = { articleId: UUID | null; first?: number | null; desc?: boolean | null; }; export type ArticleContentType = "news" | "analysis" | "comment" | "qna" | "explainer" | "timeline" | "interview" | "feature" | "review" | "match" | "report" | "video" | "special" | "podcast" | "investigation" | "preview" | "live" | "recipe" | "listicle" | "indepth" | "profile" | "firstperson" | "inpictures" | "extract" | "visualstorytelling" | "obituary" | "dispatch" | "sketch"; export type ArticleStatus = "gone" | "noindex"; export type ArticleLocale = "en-gb" | "en-us" | "en-ie"; export declare const ALLOWED_LOCALES: ArticleLocale[];