import { Topic, Paginated, Notice } from "../models"; import { Service } from "./service"; export declare class TopicService extends Service { constructor(token: string, baseUrl: string); /** * Fetch a list of all topics. */ fetchTopics(): Promise; /** * Fetch a single topic. * * @param {Number} topic The topic ID. */ fetchTopic(topic: number): Promise; /** * Fetch a list of all topic notices. * * @param {Number} topic The topic ID. */ fetchTopicNotices(topic: number, cursor?: string): Promise>; }