@lossless.org/nosqldb 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/.smartconfig.json +107 -0
  2. package/dist_rust/rustdb_linux_amd64 +0 -0
  3. package/dist_rust/rustdb_linux_amd64.tsrust-build.json +14 -0
  4. package/dist_rust/rustdb_linux_arm64 +0 -0
  5. package/dist_rust/rustdb_linux_arm64.tsrust-build.json +14 -0
  6. package/dist_rust/rustdb_macos_amd64 +0 -0
  7. package/dist_rust/rustdb_macos_amd64.tsrust-build.json +14 -0
  8. package/dist_rust/rustdb_macos_arm64 +0 -0
  9. package/dist_rust/rustdb_macos_arm64.tsrust-build.json +14 -0
  10. package/dist_ts/00_commitinfo_data.d.ts +8 -0
  11. package/dist_ts/00_commitinfo_data.js +9 -0
  12. package/dist_ts/index.d.ts +8 -0
  13. package/dist_ts/index.js +10 -0
  14. package/dist_ts/ts_local/classes.localnosqldb.d.ts +119 -0
  15. package/dist_ts/ts_local/classes.localnosqldb.js +386 -0
  16. package/dist_ts/ts_local/index.d.ts +5 -0
  17. package/dist_ts/ts_local/index.js +3 -0
  18. package/dist_ts/ts_local/plugins.d.ts +1 -0
  19. package/dist_ts/ts_local/plugins.js +3 -0
  20. package/dist_ts/ts_nosqldb/classes.storagerehearsal.d.ts +19 -0
  21. package/dist_ts/ts_nosqldb/classes.storagerehearsal.js +122 -0
  22. package/dist_ts/ts_nosqldb/file-storage-options.d.ts +13 -0
  23. package/dist_ts/ts_nosqldb/file-storage-options.js +24 -0
  24. package/dist_ts/ts_nosqldb/file-storage-startup.d.ts +3 -0
  25. package/dist_ts/ts_nosqldb/file-storage-startup.js +6 -0
  26. package/dist_ts/ts_nosqldb/index.d.ts +14 -0
  27. package/dist_ts/ts_nosqldb/index.js +11 -0
  28. package/dist_ts/ts_nosqldb/offline-inspection.d.ts +72 -0
  29. package/dist_ts/ts_nosqldb/offline-inspection.js +282 -0
  30. package/dist_ts/ts_nosqldb/plugins.d.ts +7 -0
  31. package/dist_ts/ts_nosqldb/plugins.js +10 -0
  32. package/dist_ts/ts_nosqldb/resource-fencing.d.ts +39 -0
  33. package/dist_ts/ts_nosqldb/resource-fencing.js +271 -0
  34. package/dist_ts/ts_nosqldb/rust-db-bridge.d.ts +213 -0
  35. package/dist_ts/ts_nosqldb/rust-db-bridge.js +439 -0
  36. package/dist_ts/ts_nosqldb/server/classes.nosqldbserver.d.ts +204 -0
  37. package/dist_ts/ts_nosqldb/server/classes.nosqldbserver.js +456 -0
  38. package/dist_ts/ts_nosqldb/server/index.d.ts +3 -0
  39. package/dist_ts/ts_nosqldb/server/index.js +3 -0
  40. package/dist_ts/ts_nosqldb/service-types.d.ts +341 -0
  41. package/dist_ts/ts_nosqldb/service-types.js +62 -0
  42. package/dist_ts/ts_nosqldb/storage-rehearsal.d.ts +103 -0
  43. package/dist_ts/ts_nosqldb/storage-rehearsal.js +131 -0
  44. package/dist_ts/ts_nosqldb/storage-root-relocation.d.ts +27 -0
  45. package/dist_ts/ts_nosqldb/storage-root-relocation.js +211 -0
  46. package/dist_ts_debugserver/bundled.d.ts +4 -0
  47. package/dist_ts_debugserver/bundled.js +16 -0
  48. package/dist_ts_debugserver/classes.debugserver.d.ts +36 -0
  49. package/dist_ts_debugserver/classes.debugserver.js +95 -0
  50. package/dist_ts_debugserver/index.d.ts +2 -0
  51. package/dist_ts_debugserver/index.js +2 -0
  52. package/dist_ts_debugserver/plugins.d.ts +2 -0
  53. package/dist_ts_debugserver/plugins.js +3 -0
  54. package/dist_ts_debugui/index.d.ts +2 -0
  55. package/dist_ts_debugui/index.js +2 -0
  56. package/dist_ts_debugui/nosqldb-debugui.d.ts +62 -0
  57. package/dist_ts_debugui/nosqldb-debugui.js +1132 -0
  58. package/dist_ts_debugui/plugins.d.ts +1 -0
  59. package/dist_ts_debugui/plugins.js +2 -0
  60. package/license +21 -0
  61. package/package.json +82 -0
  62. package/readme.md +1733 -0
  63. package/third-party-notices.md +925 -0
  64. package/ts/00_commitinfo_data.ts +8 -0
  65. package/ts/index.ts +85 -0
  66. package/ts/ts_local/classes.localnosqldb.ts +500 -0
  67. package/ts/ts_local/index.ts +19 -0
  68. package/ts/ts_local/plugins.ts +1 -0
  69. package/ts/ts_nosqldb/classes.storagerehearsal.ts +109 -0
  70. package/ts/ts_nosqldb/file-storage-options.ts +33 -0
  71. package/ts/ts_nosqldb/file-storage-startup.ts +9 -0
  72. package/ts/ts_nosqldb/index.ts +104 -0
  73. package/ts/ts_nosqldb/offline-inspection.ts +375 -0
  74. package/ts/ts_nosqldb/plugins.ts +12 -0
  75. package/ts/ts_nosqldb/resource-fencing.ts +368 -0
  76. package/ts/ts_nosqldb/rust-db-bridge.ts +964 -0
  77. package/ts/ts_nosqldb/server/classes.nosqldbserver.ts +696 -0
  78. package/ts/ts_nosqldb/server/index.ts +4 -0
  79. package/ts/ts_nosqldb/service-types.ts +484 -0
  80. package/ts/ts_nosqldb/storage-rehearsal.ts +215 -0
  81. package/ts/ts_nosqldb/storage-root-relocation.ts +277 -0
@@ -0,0 +1,107 @@
1
+ {
2
+ "@git.zone/cli": {
3
+ "projectType": "npm",
4
+ "module": {
5
+ "githost": "code.foss.global",
6
+ "gitscope": "push.rocks",
7
+ "gitrepo": "smartdb",
8
+ "description": "A MongoDB-compatible embedded database server with wire protocol support, backed by a high-performance Rust engine.",
9
+ "npmPackagename": "@lossless.org/nosqldb",
10
+ "license": "MIT",
11
+ "projectDomain": "lossless.org",
12
+ "keywords": [
13
+ "mongodb-compatible",
14
+ "wire protocol",
15
+ "embedded database",
16
+ "in-memory database",
17
+ "testing",
18
+ "local database",
19
+ "database server",
20
+ "rust"
21
+ ]
22
+ },
23
+ "release": {
24
+ "preflight": {
25
+ "test": true,
26
+ "testCommand": "pnpm run release:check-builders",
27
+ "build": true,
28
+ "buildCommand": "pnpm run release:build-artifacts"
29
+ },
30
+ "targets": {
31
+ "git": {
32
+ "enabled": true,
33
+ "remote": "origin",
34
+ "pushBranch": true,
35
+ "pushTags": true
36
+ },
37
+ "npm": {
38
+ "enabled": true,
39
+ "registries": [
40
+ "https://verdaccio.lossless.digital",
41
+ "https://registry.npmjs.org"
42
+ ],
43
+ "accessLevel": "public",
44
+ "alreadyPublished": "success"
45
+ }
46
+ }
47
+ },
48
+ "services": [],
49
+ "schemaVersion": 2
50
+ },
51
+ "@git.zone/tsdoc": {
52
+ "legal": "\n## License and Legal Information\n\nThis repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](license) file within this repository. \n\n**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.\n\n### Trademarks\n\nThis project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH and are not included within the scope of the MIT license granted herein. Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines, and any usage must be approved in writing by Task Venture Capital GmbH.\n\n### Company Information\n\nTask Venture Capital GmbH \nRegistered at District court Bremen HRB 35230 HB, Germany\n\nFor any legal inquiries or if you require further information, please contact us via email at hello@task.vc.\n\nBy using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.\n"
53
+ },
54
+ "@git.zone/tsbundle": {
55
+ "bundles": [
56
+ {
57
+ "from": "./ts_debugui/index.ts",
58
+ "to": "./ts_debugserver/bundled.ts",
59
+ "outputMode": "base64ts",
60
+ "bundler": "esbuild",
61
+ "includeFiles": [
62
+ { "from": "./html/index.html", "to": "index.html" }
63
+ ]
64
+ }
65
+ ]
66
+ },
67
+ "@git.zone/tsrust": {
68
+ "targetsByHost": {
69
+ "linux": [
70
+ "linux_amd64",
71
+ "linux_arm64"
72
+ ],
73
+ "macos": [
74
+ "macos_amd64",
75
+ "macos_arm64"
76
+ ]
77
+ },
78
+ "locked": true,
79
+ "static": true,
80
+ "remapLocalPaths": true,
81
+ "matrix": {
82
+ "builders": {
83
+ "macos_arm64": {
84
+ "transport": "ssh",
85
+ "destinationEnv": "NOSQLDB_RELEASE_MACOS_SSH",
86
+ "temporaryRootEnv": "NOSQLDB_RELEASE_MACOS_TEMP_ROOT"
87
+ },
88
+ "linux_amd64": {
89
+ "transport": "ssh",
90
+ "destinationEnv": "NOSQLDB_RELEASE_LINUX_SSH",
91
+ "temporaryRootEnv": "NOSQLDB_RELEASE_LINUX_TEMP_ROOT"
92
+ }
93
+ },
94
+ "smokeTestArgs": [
95
+ "--version"
96
+ ],
97
+ "verificationCommand": [
98
+ "pnpm",
99
+ "run",
100
+ "release:verify-native"
101
+ ]
102
+ }
103
+ },
104
+ "@ship.zone/szci": {
105
+ "npmGlobalTools": []
106
+ }
107
+ }
Binary file
@@ -0,0 +1,14 @@
1
+ {
2
+ "format": "tsrust.build-provenance.v2",
3
+ "binarySha256": "54a7a709bd532343c5bb3bb973982a203ecb1ccd016db1adb400a1ea66cc7b32",
4
+ "buildInfo": {
5
+ "projectName": "@lossless.org/nosqldb",
6
+ "projectVersion": "8.0.0",
7
+ "gitCommit": "44f4666f2c00be9d11804be4da7bb29a00df7c1f",
8
+ "gitDirty": false,
9
+ "builtAt": "2026-09-09T12:59:29.170Z",
10
+ "tsrustVersion": "1.13.0",
11
+ "binary": "rustdb",
12
+ "target": "linux_amd64"
13
+ }
14
+ }
Binary file
@@ -0,0 +1,14 @@
1
+ {
2
+ "format": "tsrust.build-provenance.v2",
3
+ "binarySha256": "62ce2e2607b095086282d58186c95e1ebd59c6ed3b79de5e695e26e7ca3fcc68",
4
+ "buildInfo": {
5
+ "projectName": "@lossless.org/nosqldb",
6
+ "projectVersion": "8.0.0",
7
+ "gitCommit": "44f4666f2c00be9d11804be4da7bb29a00df7c1f",
8
+ "gitDirty": false,
9
+ "builtAt": "2026-09-09T13:00:39.111Z",
10
+ "tsrustVersion": "1.13.0",
11
+ "binary": "rustdb",
12
+ "target": "linux_arm64"
13
+ }
14
+ }
Binary file
@@ -0,0 +1,14 @@
1
+ {
2
+ "format": "tsrust.build-provenance.v2",
3
+ "binarySha256": "7fc9aae99fceb770d98efdf709179b137760646f3c451a067d7793807a5dd2e9",
4
+ "buildInfo": {
5
+ "projectName": "@lossless.org/nosqldb",
6
+ "projectVersion": "8.0.0",
7
+ "gitCommit": "44f4666f2c00be9d11804be4da7bb29a00df7c1f",
8
+ "gitDirty": false,
9
+ "builtAt": "2026-09-09T12:36:49.856Z",
10
+ "tsrustVersion": "1.13.0",
11
+ "binary": "rustdb",
12
+ "target": "macos_amd64"
13
+ }
14
+ }
Binary file
@@ -0,0 +1,14 @@
1
+ {
2
+ "format": "tsrust.build-provenance.v2",
3
+ "binarySha256": "aebd28b5b38660db3ff95c0954b7027980e9d6b0d443e29f405d0cba0a9d8b6d",
4
+ "buildInfo": {
5
+ "projectName": "@lossless.org/nosqldb",
6
+ "projectVersion": "8.0.0",
7
+ "gitCommit": "44f4666f2c00be9d11804be4da7bb29a00df7c1f",
8
+ "gitDirty": false,
9
+ "builtAt": "2026-09-09T12:37:35.815Z",
10
+ "tsrustVersion": "1.13.0",
11
+ "binary": "rustdb",
12
+ "target": "macos_arm64"
13
+ }
14
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * autocreated commitinfo by @push.rocks/commitinfo
3
+ */
4
+ export declare const commitinfo: {
5
+ name: string;
6
+ version: string;
7
+ description: string;
8
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * autocreated commitinfo by @push.rocks/commitinfo
3
+ */
4
+ export const commitinfo = {
5
+ name: '@lossless.org/nosqldb',
6
+ version: '8.0.0',
7
+ description: 'A MongoDB-compatible embedded database server with wire protocol support, backed by a high-performance Rust engine.'
8
+ };
9
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx1QkFBdUI7SUFDN0IsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHFIQUFxSDtDQUNuSSxDQUFBIn0=
@@ -0,0 +1,8 @@
1
+ import { commitinfo } from './00_commitinfo_data.js';
2
+ export * from './ts_nosqldb/index.js';
3
+ export { LocalNoSqlDb } from './ts_local/index.js';
4
+ export type { ILocalNoSqlDbOptions, ILocalNoSqlDbConnectionInfo, ILocalNoSqlDbOfflineInspectionLimits, ILocalNoSqlDbOfflinePhysicalNamespaceInspectionLimits, ILocalNoSqlDbOfflinePhysicalNamespaceInspection, ILocalNoSqlDbOfflinePhysicalNamespaceInspectionResult, ILocalNoSqlDbOfflineStringValueInspection, TLocalNoSqlDbOfflineStringValueInspectionResult, ILocalNoSqlDbStoppedStorageRootRelocationInput, ILocalNoSqlDbStoppedStorageRootRelocationReceipt, TLocalNoSqlDbStorageRootRelocationErrorCode, } from './ts_local/index.js';
5
+ export { LocalNoSqlDbStorageRootRelocationError, localNoSqlDbStorageRootRelocationErrorCodes, } from './ts_local/index.js';
6
+ export { commitinfo };
7
+ export type { IOpLogEntry, IOpLogResult, IOpLogStats, IRevertResult, ICollectionInfo, IDocumentsResult, INoSqlDbMetrics, INoSqlDbHealth, INoSqlDbResourceFence, INoSqlDbResourceFenceReceipt, INoSqlDbHeldPublicationReceipt, INoSqlDbCommitDatabasePublicationInput, INoSqlDbManagementOperationOptions, INoSqlDbDatabaseResourceFenceState, INoSqlDbDatabaseAllocationIdentity, INoSqlDbDatabaseAllocationLifecycle, INoSqlDbDatabaseAllocationReadAccessGrantIdentity, INoSqlDbIssueDatabaseAllocationReadAccessGrantInput, INoSqlDbIssueDatabaseAllocationReadAccessGrantResult, INoSqlDbRevokeDatabaseAllocationReadAccessGrantInput, INoSqlDbRevokeDatabaseAllocationReadAccessGrantResult, TNoSqlDbCommitDatabasePublicationResult, TNoSqlDbResourceFenceErrorCode, TNoSqlDbAllocationReadAccessGrantErrorCode, INoSqlDbDatabaseTenantInput, INoSqlDbAttestDatabaseTenantInput, INoSqlDbAttestDatabaseTenantResult, INoSqlDbEnsureDatabaseTenantInput, INoSqlDbEnsureDatabaseTenantResult, INoSqlDbAllocateDatabaseTenantInput, INoSqlDbAllocateDatabaseTenantResult, INoSqlDbDeleteDatabaseTenantInput, INoSqlDbRotateDatabaseTenantPasswordInput, INoSqlDbDatabaseTenantDescriptor, INoSqlDbDeleteDatabaseTenantResult, INoSqlDbDatabaseExportCollection, INoSqlDbDatabaseExport, INoSqlDbDatabaseExportLimits, INoSqlDbExportDatabaseInput, INoSqlDbDatabaseContentDigestLimits, INoSqlDbGetDatabaseContentDigestInput, INoSqlDbDatabaseContentDigest, INoSqlDbImportDatabaseInput, INoSqlDbImportDatabaseResult, TNoSqlDbEffectivePayloadInputV1, } from './ts_nosqldb/index.js';
8
+ export { NoSqlDbAllocationReadAccessGrantError, normalizeNoSqlDbAllocationReadAccessGrantError, noSqlDbAllocationReadAccessGrantErrorCodes, NoSqlDbResourceFenceError, normalizeNoSqlDbResourceFenceError, noSqlDbResourceFenceErrorCodes, createNoSqlDbEffectivePayloadSha256V1, } from './ts_nosqldb/index.js';
@@ -0,0 +1,10 @@
1
+ import { commitinfo } from './00_commitinfo_data.js';
2
+ // Export core NoSQLDB module
3
+ export * from './ts_nosqldb/index.js';
4
+ // Export LocalNoSqlDb
5
+ export { LocalNoSqlDb } from './ts_local/index.js';
6
+ export { LocalNoSqlDbStorageRootRelocationError, localNoSqlDbStorageRootRelocationErrorCodes, } from './ts_local/index.js';
7
+ // Export commitinfo
8
+ export { commitinfo };
9
+ export { NoSqlDbAllocationReadAccessGrantError, normalizeNoSqlDbAllocationReadAccessGrantError, noSqlDbAllocationReadAccessGrantErrorCodes, NoSqlDbResourceFenceError, normalizeNoSqlDbResourceFenceError, noSqlDbResourceFenceErrorCodes, createNoSqlDbEffectivePayloadSha256V1, } from './ts_nosqldb/index.js';
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFFckQsNkJBQTZCO0FBQzdCLGNBQWMsdUJBQXVCLENBQUM7QUFFdEMsc0JBQXNCO0FBQ3RCLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQWNuRCxPQUFPLEVBQ0wsc0NBQXNDLEVBQ3RDLDJDQUEyQyxHQUM1QyxNQUFNLHFCQUFxQixDQUFDO0FBRTdCLG9CQUFvQjtBQUNwQixPQUFPLEVBQUUsVUFBVSxFQUFFLENBQUM7QUFrRHRCLE9BQU8sRUFDTCxxQ0FBcUMsRUFDckMsOENBQThDLEVBQzlDLDBDQUEwQyxFQUMxQyx5QkFBeUIsRUFDekIsa0NBQWtDLEVBQ2xDLDhCQUE4QixFQUM5QixxQ0FBcUMsR0FDdEMsTUFBTSx1QkFBdUIsQ0FBQyJ9
@@ -0,0 +1,119 @@
1
+ import { NoSqlDbServer, type INoSqlDbAuthOptions, type ILocalNoSqlDbOfflinePhysicalNamespaceInspection, type ILocalNoSqlDbOfflinePhysicalNamespaceInspectionResult, type ILocalNoSqlDbStoppedStorageRootRelocationInput, type ILocalNoSqlDbStoppedStorageRootRelocationReceipt, type ILocalNoSqlDbOfflineStringValueInspection, type INoSqlDbManagementOperationOptions, type TLocalNoSqlDbOfflineStringValueInspectionResult } from '../ts_nosqldb/index.js';
2
+ import { type TNoSqlDbFileStorageStartup } from '../ts_nosqldb/file-storage-startup.js';
3
+ /**
4
+ * Connection information returned by LocalNoSqlDb.start()
5
+ */
6
+ export interface ILocalNoSqlDbConnectionInfo {
7
+ /** The Unix socket file path */
8
+ socketPath: string;
9
+ /** Connection URI (mongodb:// scheme) ready for MongoClient */
10
+ connectionUri: string;
11
+ }
12
+ export interface ILocalNoSqlDbOptions {
13
+ /** Persisted authentication, including the source-verbatim credentials of a rehearsal destination. */
14
+ auth?: INoSqlDbAuthOptions;
15
+ /** Exact rehearsal operation ID; requires current-format-only startup and an explicit private socket. */
16
+ storageRehearsalId?: string;
17
+ /** Exact engine executable. Invalid explicit paths reject without chmod or discovery fallback. Omit for normal discovery. */
18
+ binaryPath?: string;
19
+ /** Default: current-format-only. Native ownership precedes all file-root initialization. */
20
+ fileStorageStartup?: TNoSqlDbFileStorageStartup;
21
+ /** Required: where to store data */
22
+ folderPath: string;
23
+ /** Optional: custom socket path (default: auto-generated in /tmp) */
24
+ socketPath?: string;
25
+ }
26
+ /**
27
+ * LocalNoSqlDb - Lightweight local MongoDB-compatible database using Unix sockets
28
+ *
29
+ * This class wraps NoSqlDbServer and provides a simple interface for
30
+ * starting a local file-based database server. Returns connection
31
+ * info that you can use with any compatible driver instance.
32
+ *
33
+ * @example
34
+ * ```typescript
35
+ * import { LocalNoSqlDb } from '@lossless.org/nosqldb';
36
+ * import { MongoClient } from 'mongodb';
37
+ *
38
+ * const db = new LocalNoSqlDb({ folderPath: './data' });
39
+ * const { connectionUri } = await db.start();
40
+ *
41
+ * // Connect with the driver
42
+ * const client = new MongoClient(connectionUri, { directConnection: true });
43
+ * await client.connect();
44
+ *
45
+ * // Use the client
46
+ * const collection = client.db('mydb').collection('users');
47
+ * await collection.insertOne({ name: 'Alice' });
48
+ *
49
+ * // When done
50
+ * await client.close();
51
+ * await db.stop();
52
+ * ```
53
+ */
54
+ export declare class LocalNoSqlDb {
55
+ private static storageRootRelocationGate;
56
+ private static storageRootRelocationBridge;
57
+ private options;
58
+ private server;
59
+ private generatedSocketPath;
60
+ constructor(options: ILocalNoSqlDbOptions);
61
+ private static createOfflineInspectionBridge;
62
+ private static createStorageRootRelocationBridge;
63
+ private static withStorageRootRelocationGate;
64
+ private static remainingManagementTimeout;
65
+ /**
66
+ * Relocate one stopped current native file root, including authenticated
67
+ * roots, under continuous ownership. Preserve the returned source receipt;
68
+ * interrupted operations require the identical request to finish recovery.
69
+ */
70
+ static relocateStoppedStorageRoot(inputArg: ILocalNoSqlDbStoppedStorageRootRelocationInput, optionsArg?: INoSqlDbManagementOperationOptions): Promise<ILocalNoSqlDbStoppedStorageRootRelocationReceipt>;
71
+ private static runOfflineInspection;
72
+ /**
73
+ * Inspect physical database and collection names while the owning engine is stopped.
74
+ * This starts only the Rust management sidecar and never initializes storage.
75
+ */
76
+ static inspectOfflinePhysicalNamespaces(inputArg: ILocalNoSqlDbOfflinePhysicalNamespaceInspection, optionsArg?: INoSqlDbManagementOperationOptions): Promise<ILocalNoSqlDbOfflinePhysicalNamespaceInspectionResult>;
77
+ /**
78
+ * Inspect one exact string value while the owning LocalNoSqlDb engine is stopped.
79
+ * This starts only the Rust management sidecar and never initializes storage.
80
+ */
81
+ static inspectOfflineStringValue(inputArg: ILocalNoSqlDbOfflineStringValueInspection, optionsArg?: INoSqlDbManagementOperationOptions): Promise<TLocalNoSqlDbOfflineStringValueInspectionResult>;
82
+ /**
83
+ * Generate a unique socket path in /tmp
84
+ */
85
+ private generateSocketPath;
86
+ /**
87
+ * Check if a Unix socket is alive by attempting to connect.
88
+ */
89
+ private static isSocketAlive;
90
+ /**
91
+ * Remove stale nosqldb-*.sock files from /tmp.
92
+ * A socket is considered stale if connecting to it fails.
93
+ */
94
+ private static cleanStaleSockets;
95
+ /**
96
+ * Start the local NoSQLDB server and return connection info
97
+ */
98
+ start(): Promise<ILocalNoSqlDbConnectionInfo>;
99
+ /**
100
+ * Get connection info (throws if not started)
101
+ */
102
+ getConnectionInfo(): ILocalNoSqlDbConnectionInfo;
103
+ /**
104
+ * Get the underlying NoSqlDbServer instance (throws if not started)
105
+ */
106
+ getServer(): NoSqlDbServer;
107
+ /**
108
+ * Get the connection URI
109
+ */
110
+ getConnectionUri(): string;
111
+ /**
112
+ * Check if the server is running
113
+ */
114
+ get running(): boolean;
115
+ /**
116
+ * Stop the local NoSQLDB server
117
+ */
118
+ stop(): Promise<void>;
119
+ }