import { MoovCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import * as errors from "../models/errors/index.js"; import { MoovError } from "../models/errors/mooverror.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import * as operations from "../models/operations/index.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Link a bank account to an existing Moov account. Read our [bank accounts guide](https://docs.moov.io/guides/sources/bank-accounts/) to learn more. * * It is strongly recommended that callers include the `X-Wait-For` header, set to `payment-method`, if the newly linked * bank-account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment * Methods](https://docs.moov.io/api/sources/payment-methods/list/) * endpoint to wait for the new payment methods to be available for use. * * To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) * you'll need to specify the `/accounts/{accountID}/bank-accounts.write` scope. */ export declare function bankAccountsLink(client: MoovCore, request: operations.LinkBankAccountRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=bankAccountsLink.d.ts.map