import { FetchBalancesWithPaginationResponse, TokenBalance, UserAlias } from "@gala-chain/api"; import { GalaChainContext } from "../types"; export interface FetchBalancesParams { collection?: string; category?: string; type?: string; additionalKey?: string; owner: UserAlias; } export interface FetchBalancesWithPaginationParams extends FetchBalancesParams { bookmark: string | undefined; limit: number | undefined; } /** * @description * * Query balances from on-chain World State using the provided parameters. * This function does not support pagination. * * Also see the `TokenBalance` definition, where its `ChainKey` properties * are defined. * * The `@ChainKeys` that make up the World State composite key are ordered, * and cannot be skipped when making partial composite key queries. * Be advised that broad queries can lead * to performance issues for large result sets. * * @param ctx * @param data * @returns Promise */ export declare function fetchBalances(ctx: GalaChainContext, data: FetchBalancesParams): Promise; export declare function fetchBalancesWithPagination(ctx: GalaChainContext, data: FetchBalancesWithPaginationParams): Promise; //# sourceMappingURL=fetchBalances.d.ts.map