import {Context, createContext, Dispatch, SetStateAction} from "react";

export interface AIUsageContextProps {
    totalCredits: number;
    totalPrice: number;
    setTotalCredits: Dispatch<SetStateAction<number>>;
    setTotalPrice: Dispatch<SetStateAction<number>>;
}

export const AIUsageContext: Context<AIUsageContextProps> = createContext<AIUsageContextProps>({
    totalCredits: 0,
    totalPrice: 0,
    setTotalCredits: (): void => {
    },
    setTotalPrice: (): void => {
    }
})