import * as react5 from "react";
import { FC, PropsWithChildren } from "react";

//#region src/components/IDE/CodeContext.d.ts
type PackageManager = 'npm' | 'pnpm' | 'yarn' | 'bun';
type CodeFormat = 'typescript' | 'commonjs' | 'esm';
type ContentDeclarationFormat = 'typescript' | 'commonjs' | 'esm' | 'json';
type CodeContextValue = {
  packageManager: PackageManager;
  setPackageManager: (packageManager: PackageManager) => void;
  codeFormat: CodeFormat;
  setCodeFormat: (codeFormat: CodeFormat) => void;
  contentDeclarationFormat: ContentDeclarationFormat;
  setContentDeclarationFormat: (contentDeclarationFormat: ContentDeclarationFormat) => void;
};
/**
 * Context that store the current locale on the client side
 */
declare const CodeContext: react5.Context<CodeContextValue>;
/**
 * Hook that provides the current locale
 */
declare const useCodeContext: () => CodeContextValue;
/**
 * Provider that store the current locale on the client side
 */
declare const CodeProvider: FC<PropsWithChildren>;
//#endregion
export { CodeContext, CodeFormat, CodeProvider, ContentDeclarationFormat, PackageManager, useCodeContext };
//# sourceMappingURL=CodeContext.d.ts.map