import { Privilege } from '@bringg/types';
import Session from '../Services/Identity/Session';
import { AddPrivilegePayload, CreatePrivilegeResponse, PrivilegeGetListResponse } from './Privilege.consts';
export default class PrivilegeService {
    private readonly service;
    constructor(session: Session);
    get(id: number): Promise<Privilege>;
    create(payload: AddPrivilegePayload): Promise<CreatePrivilegeResponse>;
    getList(): Promise<PrivilegeGetListResponse['privileges']>;
    update(id: number, payload: AddPrivilegePayload): Promise<{
        success: boolean;
        privilege: Privilege;
    }>;
}
