export declare namespace RNANewsJSON { type RNANewsResponseItem = [id: string, title: string, source: string, type: string]; type RNANewsItem = [day: number, title: string, source: string, type: string]; /** * The response JSON for RNANews from Morningstar. */ interface ResponseItem { /** * A UNIX timestamp in milliseconds specifying the day * at which the news items were published. */ day: string; /** * List of news items. * * A news-item is a 4-tuple with the following fields: * - Unique identifier * - Title of announcement. * - Source * - Type */ items: RNANewsResponseItem[]; } type Response = ResponseItem[]; function isResponse(json?: unknown): json is Response; } export default RNANewsJSON;