@gensx/storage
Version:
Cloud storage, blobs, sqlite, and vector database providers/hooks for GenSX.
9 lines • 440 B
TypeScript
import { Database, DatabaseStorageOptions } from "./types.js";
/**
* Hook to access a database
* @param name The name of the database to access
* @param options Optional configuration properties for the database
* @returns A promise that resolves to a database object for the given name
*/
export declare function useDatabase(name: string, options?: DatabaseStorageOptions): Promise<Database>;
//# sourceMappingURL=useDatabase.d.ts.map