import { JBProjectToken } from "juice-sdk-core"; import { PropsWithChildren } from "react"; import { UseTokenReturnType } from "wagmi"; import { AsyncData } from "../types"; /** * 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: import("react").Context; export declare function useJBTokenContext(): JBTokenContextData; export type JBTokenProviderProps = PropsWithChildren<{ withTotalOutstanding?: boolean; }>; /** * Provides the token for a project. * * @note depends on JBContractContext */ export declare const JBTokenProvider: ({ children, withTotalOutstanding }: JBTokenProviderProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=JBTokenContext.d.ts.map