import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { BalanceRecord, QueryBalanceRecordsOptions, QueryBalanceRecordsResponse } from './index.typings.js'; export { AddressLocation, BalanceRecordStatus, BalanceRecordStatusWithLiterals, BalanceRecordTag, BalanceRecordTagWithLiterals, BalanceRecordType, BalanceRecordTypeWithLiterals, BalanceRecordsSummary, BalanceRecordsSummaryItem, BalanceRecordsSummaryItemType, BalanceRecordsSummaryItemTypeWithLiterals, BalanceSummary, BlockedBalance, BlockedProfileBalance, BookTransferInfo, ExplicitReserve, FundsOnHoldBalance, FundsOnHoldProfileBalance, GetBalanceRecordRequest, GetBalanceRecordResponse, GetBalanceSummaryRequest, GetBalanceSummaryResponse, ListBalanceRecordsRequest, ListBalanceRecordsResponse, ModalData, Money, NegativeBalance, NegativeProfileBalance, Paging, PagingMetadata, PaymentInfo, PaymentMethodType, PaymentMethodTypeWithLiterals, PayoutInfo, PayoutsBeingVerifiedBalance, PayoutsBeingVerifiedProfileBalance, PayoutsUnderMinimumAmountBalance, PayoutsUnderMinimumAmountProfileBalance, Period, PeriodUnit, PeriodUnitWithLiterals, ProcessingBalance, ProcessingProfileBalance, Query, QueryBalanceRecordsRequest, ReserveBalance, ReserveBalanceMotivationOneOf, ReserveHistoryItem, ReserveInfo, ReservePolicy, ReserveProfileBalance, ReserveType, ReserveTypeWithLiterals, ScheduledBalance, ScheduledProfileBalance, SortOrder, SortOrderWithLiterals, Sorting } from './index.typings.js'; declare function getBalanceRecord$1(httpClient: HttpClient): GetBalanceRecordSignature; interface GetBalanceRecordSignature { /** * Retrieves a single balance record by ID for the specified account. * * Returns an error if the record doesn't exist or doesn't belong to the specified account. * @param - Balance record ID. * @param - ID of the Wix Payments account that owns the balance record. The record must belong to this account. Retrieve account IDs from the Accounts API. * @returns Retrieved balance record. */ (balanceRecordId: string, accountId: string): Promise>; } declare function queryBalanceRecords$1(httpClient: HttpClient): QueryBalanceRecordsSignature; interface QueryBalanceRecordsSignature { /** * Retrieves a list of up to 1000 balance records, given the provided paging, filtering, and sorting. * * Query Balance Records runs with these defaults, which you can override: * * - `query.sort[0].fieldName` is `applied_date` in `ASC` order * - `query.paging.limit` is `20` * - `query.paging.offset` is `0` (and `offset` is required when `paging` is set) * * Filter and sort field names inside `query` must be **snake_case**. They're read from * the `query.filter` object and aren't auto-converted. Supported filter fields: * `account_profile_id`, `tags`, `payout_id`, `transaction_id`, `types`, and the date * ranges `transaction_creation_date`, `paid`, and `created_date`. Any other field returns * an `Unsupported query: unknown parameter ` error. ID fields accept a single * value by equality, `tags` and `types` accept `$in`, and date-range fields accept `$gte` * and `$lt`. Supported `sort[i].fieldName` values: `applied_date`, * `payment_info.created_date`, `created_date`. At most 1 sort field is allowed. * * To list every balance record in a payout, filter by `payout_id`. * * To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language), * [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging), * and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection). * @param - ID of the Wix Payments account that owns the balance records. Retrieve account IDs from the Accounts API. */ (accountId: string, options?: QueryBalanceRecordsOptions): Promise>; } declare const getBalanceRecord: MaybeContext & typeof getBalanceRecord$1>; declare const queryBalanceRecords: MaybeContext & typeof queryBalanceRecords$1>; export { BalanceRecord, QueryBalanceRecordsOptions, QueryBalanceRecordsResponse, getBalanceRecord, queryBalanceRecords };