import { WixBusinessModules } from './wixBusiness.types';
import { locations } from '@wix/business-tools';
import { WixServerClient } from '../wixServerClient';
import { WixBusinessLocation } from './wixBusinessLocation';
export declare class WixBusiness extends WixServerClient<WixBusinessModules> {
    constructor();
    getLocationById(id: string): Promise<WixBusinessLocation>;
    getLocations(): Promise<WixBusinessLocation[]>;
    getDefaultLocation(): Promise<WixBusinessLocation>;
    get onLocationUpdate(): import('@wix/sdk-types').BuildEventDefinition<import('@wix/sdk-types').BuildEventDefinition<import('@wix/sdk-types').EventDefinition<locations.LocationCreatedEnvelope, "wix.locations.v1.location_created">> & import('@wix/sdk-types').EventDefinition<locations.LocationCreatedEnvelope, "wix.locations.v1.location_created">>;
    get onLocationCreate(): import('@wix/sdk-types').BuildEventDefinition<import('@wix/sdk-types').BuildEventDefinition<import('@wix/sdk-types').EventDefinition<locations.LocationCreatedEnvelope, "wix.locations.v1.location_created">> & import('@wix/sdk-types').EventDefinition<locations.LocationCreatedEnvelope, "wix.locations.v1.location_created">>;
    get onLocationArchive(): import('@wix/sdk-types').BuildEventDefinition<import('@wix/sdk-types').BuildEventDefinition<import('@wix/sdk-types').EventDefinition<locations.LocationArchiveStatusEnvelope, "wix.locations.v1.location_archive_status">> & import('@wix/sdk-types').EventDefinition<locations.LocationArchiveStatusEnvelope, "wix.locations.v1.location_archive_status">>;
    get onLocationSetDefault(): import('@wix/sdk-types').BuildEventDefinition<import('@wix/sdk-types').BuildEventDefinition<import('@wix/sdk-types').EventDefinition<locations.LocationSetDefaultLocationEnvelope, "wix.locations.v1.location_set_default_location">> & import('@wix/sdk-types').EventDefinition<locations.LocationSetDefaultLocationEnvelope, "wix.locations.v1.location_set_default_location">>;
    createLocation({ name, description, email, phone, fax, timeZone, }: Pick<locations.UpdateLocation, 'name' | 'description' | 'phone' | 'email' | 'fax' | 'timeZone'>): Promise<WixBusinessLocation>;
}
//# sourceMappingURL=wixBusiness.d.ts.map