import { ServicePlan as ServicePlanType, Timestamp } from '@bringg/types';
import Session from '../Services/Identity/Session';
import { Require } from '../utils/types/helper-types';
export type ServicePlanEntity = Require<Omit<ServicePlanType, keyof Timestamp | 'id'>, 'name'>;
export default class ServicePlansApi {
    private servicePlansEntity;
    constructor(session: Session);
    getAll(): Promise<ServicePlanType[]>;
    get(id: number): Promise<ServicePlanType>;
    create(servicePlan: ServicePlanEntity): Promise<ServicePlanType>;
    update(id: number, servicePlan: ServicePlanEntity): Promise<ServicePlanType>;
    delete(id: number): Promise<{
        success: boolean;
        error?: {};
    }>;
}
