import React, { PropsWithChildren } from "react"; import { AsyncData } from "../types"; import { JBToken } from "../../../utils/data"; import { FetchTokenResult } from "wagmi/dist/actions"; /** * Context for the token of a project. */ export type JBTokenContextData = { /** * The token of the project. */ token: AsyncData; /** * The total outstanding tokens of the project. */ totalOutstanding: AsyncData; }; /** * Context for the token of a project. */ export declare const JBTokenContext: React.Context; export declare function useJBTokenContext(): JBTokenContextData; export type JBTokenProviderProps = PropsWithChildren<{ projectId: bigint; withTotalOutstanding?: boolean; }>; /** * Provides the token for a project. * * @note depends on JBContractContext */ export declare const JBTokenProvider: ({ projectId, children, withTotalOutstanding, }: JBTokenProviderProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=JBTokenContext.d.ts.map