import { CarrierService } from '../interfaces'; import { BaseService } from '../infrastructure'; /** * A service for manipulating Shopify's CarrierService API. */ export declare class CarrierServices extends BaseService { constructor(shopDomain: string, accessToken: string); /** * Creates a new Carrier Service. */ create(carrierService: Partial): Promise; /** * Updates a new Carrier Service. */ update(id: number, carrierService: Partial): Promise; /** * Gets a carrier service with the given id. * @param id The id of the carrier servuce to get. */ get(id: number): Promise; /** * Deletes a carrier service with the given id. * @param id The id of the carrier service to delete. * @return Promise<{}> returns an empty object on success */ delete(id: number): Promise<{}>; /** * Retrieves a list of carrier services for the shop. */ list(): Promise; } export default CarrierServices;