longcelot-sheet-db
Version:
Google Sheets-backed staging database adapter for Node.js with schema-first design
8 lines • 489 B
TypeScript
/**
* `pg`/`mysql2` are optional peerDependencies — this is the one place the "require it, or throw
* a clear install hint instead of a cryptic module-not-found" pattern lives, reused by
* createPostgresAdapter()/createMySQLAdapter() and by `lsdb migrate --apply` (Phase 16.7) rather
* than each duplicating the try/catch.
*/
export declare function lazyRequireDriver<T>(moduleName: string, npmPackage: string, requiredBy: string): T;
//# sourceMappingURL=lazyRequireDriver.d.ts.map