import { ApiModule } from "..";
import { Paged, Rest } from "../../../lib/Rest";
import { Friendship } from "../../../models/friendship";
export default class FriendshipsService extends Rest<Friendship> {
    constructor(api: ApiModule);
    getByUser(userId: string): Promise<Friendship>;
    pending(params?: {}): Promise<Paged<Friendship>>;
    add(userId: string): Promise<any>;
    accept(requestId: string): Promise<any>;
    reject(requestId: string): Promise<any>;
}
