import type { Package } from '@bringg/types';
import Entity from '../../Core/Entity';
import type Session from '../../Services/Identity/Session';
import { PackageDeleteRequest, PackageGetAllTaskPackagesRequest, PackageGetRequest } from '../Package.consts';
export default class PackageEntity extends Entity<Package> {
    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>;
}
