import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient"; import * as core from "../../../../core"; import type * as Square from "../../../index"; import { CodesClient } from "../resources/codes/client/Client"; export declare namespace DevicesClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class DevicesClient { protected readonly _options: NormalizedClientOptionsWithAuth; protected _codes: CodesClient | undefined; constructor(options?: DevicesClient.Options); get codes(): CodesClient; /** * List devices associated with the merchant. Currently, only Terminal API * devices are supported. * * @param {Square.ListDevicesRequest} request * @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.devices.list({ * cursor: "cursor", * sortOrder: "DESC", * limit: 1, * locationId: "location_id" * }) */ list(request?: Square.ListDevicesRequest, requestOptions?: DevicesClient.RequestOptions): Promise>; /** * Retrieves Device with the associated `device_id`. * * @param {Square.GetDevicesRequest} request * @param {DevicesClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.devices.get({ * deviceId: "device_id" * }) */ get(request: Square.GetDevicesRequest, requestOptions?: DevicesClient.RequestOptions): core.HttpResponsePromise; private __get; }