UNPKG

opencoder

Version:
11 lines (10 loc) 400 B
import React from "react"; import type { Config } from "@/lib.js"; import type { CoderTool } from "@/tools/ai.js"; export type AppContextType = Omit<Config, "mcp"> & { mcp: Record<string, CoderTool>[]; }; export declare function AppProvider({ children, ...config }: { children: React.ReactNode; } & AppContextType): React.JSX.Element; export declare function useAppContext(): AppContextType;