import { Address } from "viem"; import { State } from "../client"; import { SubgraphConfig } from "./loader"; export declare const usersLoaderQuery = "query All($block: Int! \n $first: Int!\n $lastPositionsId: ID!\n $lastMetaMorphoPositionsId: ID! \n $users: [ID!]!\n ) {\n positions(first: $first block: {number: $block} where: {id_gt: $lastPositionsId, user_in: $users} orderBy: id) {\n id\n user {id}\n market {\n id \n totalSupplyShares\n totalBorrowShares\n totalCollateral\n totalSupplyPoints\n totalBorrowPoints\n totalCollateralPoints\n lastUpdate\n }\n supplyShares\n borrowShares\n collateral\n supplyPoints\n borrowPoints\n collateralPoints\n lastUpdate\n }\n\n \n metaMorphoPositions(first: $first block: {number: $block} where: {id_gt: $lastMetaMorphoPositionsId user_in: $users} orderBy: id) {\n id\n metaMorpho {\n id\n totalShares\n totalPoints\n lastUpdate\n bluePositions(first: 1000) {\n id\n user {id}\n market {\n id \n totalSupplyShares\n totalBorrowShares\n totalCollateral\n totalSupplyPoints\n totalBorrowPoints\n totalCollateralPoints\n lastUpdate\n }\n supplyShares\n borrowShares\n collateral\n supplyPoints\n borrowPoints\n collateralPoints\n lastUpdate\n }\n }\n user {id}\n shares\n supplyPoints\n lastUpdate\n }\n}"; export declare const resetCache: () => undefined; export declare const loadFullForUsers: (subgraph: SubgraphConfig, block: number, users: Address[]) => Promise;