diff --git a/index.d.ts b/index.d.ts
index 295910333c9521374e35b163f94221b076bc7ae8..e849d188ad95da8fdb9317c64562ee51a0cb7df3 100755
--- a/index.d.ts
+++ b/index.d.ts
@@ -1,7 +1,12 @@
-export class Config {
-    constructor(basePath?: string, envPrefix?: string);
-    _reload(): void;
-    _show(): any;
-    // Index signature
-    [key: string]: any;
-}
\ No newline at end of file
+// Define the shape of the return type of the config function
+interface Config {
+  _reload(): void;
+  _show(): any;
+  [key: string]: any; // Index signature for dynamic properties
+}
+
+// Declare the function that returns a Config object
+declare function createConfig(basePath?: string, envPrefix?: string): Config;
+
+// Export the declared function
+export = createConfig;
diff --git a/package.json b/package.json
index 2fb947007fb153bdee992d9d2a9918439da2725c..d143900eb824b1d192f4e0cc1956337fddbaf37c 100755
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@libs/config",
-  "version": "1.13.3",
+  "version": "1.13.4",
   "description": "Simple Config with ENV Support",
   "main": "index.js",
   "scripts": {