import { jbMultiTerminalAbi } from "juice-sdk-core"; import { PropsWithChildren } from "react"; import { Address, ContractFunctionReturnType } from "viem"; import { AsyncData } from "../types"; /** * [token] The address of the token that accounting is being done with. * [decimals] The number of decimals expected in that token's fixed point accounting. * [currency] The currency that the token is priced in terms of. */ type JBAccountingContext = ContractFunctionReturnType[0]; export type JBTerminalContext = { address: Address | undefined; accountingContexts: AsyncData; store: AsyncData
; }; export declare const JBTerminalContext: import("react").Context; export declare function useJBTerminalContext(): JBTerminalContext; type JBTerminalProviderProps = PropsWithChildren<{ address: Address | undefined; }>; /** * Provide details about a given terminal. */ export declare const JBTerminalProvider: ({ address, children }: JBTerminalProviderProps) => import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=JBTerminalContext.d.ts.map