import { Package } from '@bringg/types';
import Session from '../Services/Identity/Session';
import type { PackageDeleteRequest, PackageGetAllTaskPackagesRequest, PackageGetRequest } from './Package.consts';
export default class PackageApi {
    private packageEntity;
    constructor(session: Session);
    getPackageById(queryParams: PackageGetRequest): Promise<Package>;
    getAllTaskPackages(queryParams: PackageGetAllTaskPackagesRequest): Promise<Package[]>;
    deletePackage(queryParams: PackageDeleteRequest): Promise<boolean>;
    createPackage(newPackage: Package): Promise<Package>;
    updatePackage(updatedPackage: Package): Promise<Package>;
    upsertPackage(newPackage: Package): Promise<Package>;
}
