import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient"; import * as core from "../../../../core"; import type * as Square from "../../../index"; import { PaymentLinksClient } from "../resources/paymentLinks/client/Client"; export declare namespace CheckoutClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class CheckoutClient { protected readonly _options: NormalizedClientOptionsWithAuth; protected _paymentLinks: PaymentLinksClient | undefined; constructor(options?: CheckoutClient.Options); get paymentLinks(): PaymentLinksClient; /** * Retrieves the location-level settings for a Square-hosted checkout page. * * @param {Square.RetrieveLocationSettingsRequest} request * @param {CheckoutClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.checkout.retrieveLocationSettings({ * locationId: "location_id" * }) */ retrieveLocationSettings(request: Square.RetrieveLocationSettingsRequest, requestOptions?: CheckoutClient.RequestOptions): core.HttpResponsePromise; private __retrieveLocationSettings; /** * Updates the location-level settings for a Square-hosted checkout page. * * @param {Square.UpdateLocationSettingsRequest} request * @param {CheckoutClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.checkout.updateLocationSettings({ * locationId: "location_id", * locationSettings: {} * }) */ updateLocationSettings(request: Square.UpdateLocationSettingsRequest, requestOptions?: CheckoutClient.RequestOptions): core.HttpResponsePromise; private __updateLocationSettings; /** * Retrieves the merchant-level settings for a Square-hosted checkout page. * * @param {CheckoutClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.checkout.retrieveMerchantSettings() */ retrieveMerchantSettings(requestOptions?: CheckoutClient.RequestOptions): core.HttpResponsePromise; private __retrieveMerchantSettings; /** * Updates the merchant-level settings for a Square-hosted checkout page. * * @param {Square.UpdateMerchantSettingsRequest} request * @param {CheckoutClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.checkout.updateMerchantSettings({ * merchantSettings: {} * }) */ updateMerchantSettings(request: Square.UpdateMerchantSettingsRequest, requestOptions?: CheckoutClient.RequestOptions): core.HttpResponsePromise; private __updateMerchantSettings; }