@sanity/code-input

7.3.107.3.11
dist/index.d.ts
~dist/index.d.tsModified
+7−7
Index: package/dist/index.d.ts
===================================================================
--- package/dist/index.d.ts
+++ package/dist/index.d.ts
@@ -52,13 +52,13 @@
 }
 /**
  * @public
  */
-declare function PreviewCode(props: PreviewCodeProps): React.JSX.Element;
+export declare function PreviewCode(props: PreviewCodeProps): React.JSX.Element;
 /**
  * @public
  */
-declare const codeTypeName = "code";
+export declare const codeTypeName = "code";
 /**
  * @public
  */
 interface CodeDefinition extends Omit<ObjectDefinition, 'type' | 'fields' | 'options'> {
@@ -72,9 +72,9 @@
 }
 /**
  * @public
  */
-declare const codeSchema: {
+export declare const codeSchema: {
   name: "code";
   type: "object";
   title: string;
   components: {
@@ -124,10 +124,10 @@
       };
     };
   };
 };
-declare const SUPPORTED_LANGUAGES: CodeInputLanguage[];
-declare const LANGUAGE_ALIASES: Record<string, string | undefined>;
+export declare const SUPPORTED_LANGUAGES: CodeInputLanguage[];
+export declare const LANGUAGE_ALIASES: Record<string, string | undefined>;
 interface CodeMode {
   name: string;
   loader: ModeLoader;
 }
@@ -137,7 +137,7 @@
 }
 /**
  * @public
  */
-declare const codeInput: Plugin<CodeInputConfig | void>;
-export { type CodeDefinition, type CodeInput, type CodeInputLanguage, type CodeInputProps, type CodeInputValue, type CodeOptions, type CodeSchemaType, LANGUAGE_ALIASES, PreviewCode, type PreviewCodeProps, SUPPORTED_LANGUAGES, codeInput, codeSchema, codeTypeName };
+export declare const codeInput: Plugin<CodeInputConfig | void>;
+export type { CodeDefinition, CodeInput, CodeInputLanguage, CodeInputProps, CodeInputValue, CodeOptions, CodeSchemaType, PreviewCodeProps };
 //# sourceMappingURL=index.d.ts.map
\ No newline at end of file