import { User, Notice } from "../models"; import { Service } from "./service"; export declare class UserService extends Service { constructor(token: string, baseUrl: string); /** * Fetch a list of all users. * * @returns An array of all users. */ fetchUsers(): Promise; /** * Fetch a single user. * * @param user The user ID * @returns The user */ fetchUser(user: number): Promise; /** * Fetch the current user. * * @returns The user */ fetchCurrentUser(): Promise; /** * Fetch a list of all notices belonging to a user. * * @param team The user ID * @returns A list of notices belonging to the user. */ fetchUserNotices(user: number): Promise; /** * Fetch a list of all notes belonging to a user. * * @param team The user ID * @returns A list of notes belonging to the user. */ fetchUserNotes(user: number): Promise; }