import { ListNotice, Notice, Paginated } from "../models"; import { SaveNoticeRequest } from "../requests"; import { Service } from "./service"; export declare class NoticeService extends Service { constructor(token: string, baseUrl: string); /** * Create a new notice * * @param {SaveNoticeRequest} request The notice to create. */ createNotice(request: SaveNoticeRequest): Promise; /** * Fetch a list of all notices. */ fetchNotices(cursor?: string): Promise>; /** * Fetch a single notice by ID * * @param {Number} id The id of the notice to find. */ fetchNotice(id: number): Promise; /** * Update an existing notice * * @param {number} id The id of the notice to update. * @param {SaveNoticeRequest} request The notice to create. */ updateNotice(id: number, request: SaveNoticeRequest): Promise; /** * Delete an existing notice * * @param {number} id The id of the notice to delete. */ deleteNotice(id: number): Promise; }