import DynamoDB = require("aws-sdk/clients/dynamodb");
import { DynamoItem } from "dynamo-item";
import { Topic } from "@ournet/news-domain";
import { Locale } from "../common";
export declare type TopicNewsKey = {
    topicId: string;
    publishedAt: string;
};
export interface TopicNews {
    topicId: string;
    newsId: string;
    publishedAt: string;
    expiresAt: number;
    locale: string;
}
export declare class TopicNewsHelper {
    static create(locale: Locale, newsId: string, publishedAt: string, topics: Topic[], expiresAt: number): TopicNews[];
}
export declare class TopicNewsModel extends DynamoItem<TopicNewsKey, TopicNews> {
    localeLastTopicsIndexName(): string;
    topicLastNewsIndexName(): string;
    constructor(client: DynamoDB.DocumentClient, tableSuffix: string);
}
