import * as Options from '../options'; import { Location } from '../interfaces'; import { BaseService } from '../infrastructure'; /** * A service for manipulating a shops Locations API. */ export declare class Locations extends BaseService { constructor(shopDomain: string, accessToken: string); /** * Gets a location with the given id. * @param id Id of the location being retrieved. * @param options Options for filtering the result. */ get(id: number, options?: Options.FieldOptions): Promise; /** * Lists up to 250 locations. * @param options Options for filtering the results. */ list(options?: Options.FieldOptions): Promise; /** * Counts the amount of locations. */ count(): Promise; /** * Lists all the inventory levels on a location. */ inventoryLevels(locationId: number): Promise; } export default Locations;