openchemlib-search-wasm 2.1.2 → 2.1.3

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 (78) hide show
  1. package/LICENSE +451 -25
  2. package/README.md +12 -5
  3. package/lib/functionKeys/index.d.ts +14 -80
  4. package/lib/functionKeys/index.js +3 -98
  5. package/lib/index.d.ts +118 -258
  6. package/lib/index.js +33 -327
  7. package/package.json +24 -32
  8. package/lib/functionKeys/dictionary.json +0 -72071
  9. package/lib/functionKeys/index.d.ts.map +0 -1
  10. package/lib/functionKeys/index.js.map +0 -1
  11. package/lib/functions.d.ts +0 -38
  12. package/lib/functions.d.ts.map +0 -1
  13. package/lib/functions.js +0 -54
  14. package/lib/functions.js.map +0 -1
  15. package/lib/hex.d.ts +0 -31
  16. package/lib/hex.d.ts.map +0 -1
  17. package/lib/hex.js +0 -41
  18. package/lib/hex.js.map +0 -1
  19. package/lib/index.d.ts.map +0 -1
  20. package/lib/index.js.map +0 -1
  21. package/lib/jpath.d.ts +0 -28
  22. package/lib/jpath.d.ts.map +0 -1
  23. package/lib/jpath.js +0 -73
  24. package/lib/jpath.js.map +0 -1
  25. package/lib/records.d.ts +0 -45
  26. package/lib/records.d.ts.map +0 -1
  27. package/lib/records.js +0 -96
  28. package/lib/records.js.map +0 -1
  29. package/lib/runSearch.d.ts +0 -41
  30. package/lib/runSearch.d.ts.map +0 -1
  31. package/lib/runSearch.js +0 -50
  32. package/lib/runSearch.js.map +0 -1
  33. package/lib/scan.d.ts +0 -159
  34. package/lib/scan.d.ts.map +0 -1
  35. package/lib/scan.js +0 -281
  36. package/lib/scan.js.map +0 -1
  37. package/lib/similaritySearch.d.ts +0 -28
  38. package/lib/similaritySearch.d.ts.map +0 -1
  39. package/lib/similaritySearch.js +0 -86
  40. package/lib/similaritySearch.js.map +0 -1
  41. package/lib/strongHash.d.ts +0 -9
  42. package/lib/strongHash.d.ts.map +0 -1
  43. package/lib/strongHash.js +0 -56
  44. package/lib/strongHash.js.map +0 -1
  45. package/lib/substructureSearch.d.ts +0 -29
  46. package/lib/substructureSearch.d.ts.map +0 -1
  47. package/lib/substructureSearch.js +0 -104
  48. package/lib/substructureSearch.js.map +0 -1
  49. package/lib/types.d.ts +0 -308
  50. package/lib/types.d.ts.map +0 -1
  51. package/lib/types.js +0 -52
  52. package/lib/types.js.map +0 -1
  53. package/lib/wasm/load.d.ts +0 -10
  54. package/lib/wasm/load.d.ts.map +0 -1
  55. package/lib/wasm/load.js +0 -50
  56. package/lib/wasm/load.js.map +0 -1
  57. package/lib/wasm/log.d.ts +0 -36
  58. package/lib/wasm/log.d.ts.map +0 -1
  59. package/lib/wasm/log.js +0 -52
  60. package/lib/wasm/log.js.map +0 -1
  61. package/src/functionKeys/index.ts +0 -181
  62. package/src/functions.ts +0 -56
  63. package/src/hex.ts +0 -43
  64. package/src/index.ts +0 -458
  65. package/src/jpath.ts +0 -77
  66. package/src/records.ts +0 -142
  67. package/src/runSearch.ts +0 -99
  68. package/src/scan.ts +0 -441
  69. package/src/similaritySearch.ts +0 -104
  70. package/src/strongHash.ts +0 -57
  71. package/src/substructureSearch.ts +0 -120
  72. package/src/types.ts +0 -403
  73. package/src/wasm/load.ts +0 -59
  74. package/src/wasm/log.ts +0 -66
  75. package/wasm/data.d.ts +0 -2
  76. package/wasm/data.js +0 -3
  77. package/wasm/runtime.d.ts +0 -31
  78. package/wasm/runtime.js +0 -30
package/lib/index.d.ts CHANGED
@@ -1,258 +1,118 @@
1
- import type { HashOptions } from './types.ts';
2
- export { substructureSearch } from './substructureSearch.ts';
3
- export { setLogHandler } from './wasm/log.ts';
4
- export { hashToHex, hexToHash } from './hex.ts';
5
- export { strongHash } from './strongHash.ts';
6
- export { similaritySearch } from './similaritySearch.ts';
7
- export { getMoleculeRecords, getMoleculeSizes, getQueryAtomFloor, } from './records.ts';
8
- export { getFunction, getFunctionKeyFragments, getFunctions, } from './functions.ts';
9
- export { DEFAULT_MAX_TAUTOMERS, INDEX_WORDS, NO_HASH, NO_ID_CODE, RECORD_WORDS, } from './types.ts';
10
- export type { LogHandler, LogStream } from './wasm/log.ts';
11
- export type { HashOptions, MoleculeRecords, MoleculeRecordsOptions, MoleculeSizes, ResultBuffer, SearchMode, SearchOptions, SearchResult, SearchStep, SimilaritySearchOptions, SimilaritySearchResult, SubstructureSearchOptions, SubstructureSearchResult, TautomerHashOptions, } from './types.ts';
12
- export { SimilarityResult, SubstructureResult } from './types.ts';
13
- /**
14
- * Builds the 512-bit FragFp fingerprint of one idcode, as sixteen 32-bit words.
15
- *
16
- * This is what a fingerprint table is made of, and building it is the expensive part of importing a
17
- * library: about 897 µs per molecule, against 4484 µs for `openchemlib-js` — six minutes instead of
18
- * thirty for 400,000 molecules. Calling this once per molecule costs the same as one batched call,
19
- * so a row-at-a-time importer needs no restructuring to get that.
20
- *
21
- * The words are in the same order `openchemlib-js`'s `createIndex` produces, so they are
22
- * interchangeable with an existing table, and a `BigInt64Array` view over the result is exactly the
23
- * eight columns `openchemlib-sqlite` stores — no conversion, no copy:
24
- *
25
- * ```js
26
- * const index = getIndex(idCode);
27
- * const columns = new BigInt64Array(index.buffer, index.byteOffset, 8); // ss_index0..7
28
- * insert.run(mw, entryId, ...columns);
29
- * ```
30
- * @param idCode - The molecule to fingerprint, as an idcode.
31
- * @returns Sixteen words. An idcode that will not parse gives sixteen zeros, which no non-empty
32
- * query is a subset of, so it can never be a false candidate.
33
- */
34
- export declare function getIndex(idCode: string): Int32Array;
35
- /**
36
- * Builds the 512-bit FragFp fingerprint of every idcode, sixteen 32-bit words each.
37
- *
38
- * See {@link getIndex} for the one-molecule form, which costs the same per molecule: the 512 key
39
- * fragments OpenChemLib matches against are parsed once and held for the module's lifetime, so
40
- * there is nothing for a batch to amortise.
41
- *
42
- * The fingerprints are written into one buffer and returned as a view per molecule, so the array
43
- * costs one allocation rather than one per molecule, and every view is still 8-byte aligned and can
44
- * be read as the eight `BigInt64` columns {@link getIndex} shows.
45
- * @param idCodes - The molecules to fingerprint, as idcodes.
46
- * @returns One sixteen-word view per idcode, in order.
47
- */
48
- export declare function getIndexes(idCodes: string[]): Int32Array[];
49
- /**
50
- * Builds the 512-bit screen of one idcode, as sixteen 32-bit words: bit i is set when key i of the
51
- * screen dictionary is a substructure of the molecule.
52
- *
53
- * The screen sits next to the FragFp fingerprint of {@link getIndex}. A molecule is a candidate for
54
- * a query only if it holds every bit of {@link getQueryIndex} in its fingerprint and every bit of
55
- * {@link getQueryScreen} in its screen; requiring both lets through about a sixth of the
56
- * non-matching molecules FragFp alone lets through. The dictionary is 512 OpenChemLib query
57
- * fragments, matched the way FragFp matches its own keys, and a screen costs about 0.7 times a
58
- * fingerprint.
59
- *
60
- * ```js
61
- * const isCandidate = (query, molecule) =>
62
- * query.every((word, i) => (word & molecule[i]) === word);
63
- * isCandidate(getQueryScreen(query), getScreen(idCode));
64
- * ```
65
- * @param idCode - The molecule to screen, as an idcode.
66
- * @returns Sixteen words. An idcode that will not parse gives sixteen zeros, which no non-empty
67
- * query screen is a subset of.
68
- */
69
- export declare function getScreen(idCode: string): Int32Array;
70
- /**
71
- * Builds the 512-bit screen of every idcode, sixteen 32-bit words each.
72
- *
73
- * See {@link getScreen}. The screens are written into one buffer and returned as a view per
74
- * molecule, each 8-byte aligned, as {@link getIndexes} does.
75
- * @param idCodes - The molecules to screen, as idcodes.
76
- * @returns One sixteen-word view per idcode, in order.
77
- */
78
- export declare function getScreens(idCodes: string[]): Int32Array[];
79
- /**
80
- * Builds the screen of a query: the bits every molecule the query matches has in its
81
- * {@link getScreen} screen.
82
- *
83
- * The query is screened on the fragment OpenChemLib's substructure search actually matches, so an
84
- * exclude group cutting an aromatic ring and the atom ring sizes of the query are taken into account
85
- * as the search takes them; a query with a "match formal bond order" bond gets no bits.
86
- * @param idCodeQuery - The query, as an idcode; read as a fragment whatever its own fragment flag.
87
- * @returns Sixteen words.
88
- * @throws {Error} If the query cannot be parsed.
89
- */
90
- export declare function getQueryScreen(idCodeQuery: string): Int32Array;
91
- /**
92
- * Builds the FragFp fingerprint of a query: the bits every molecule the query matches has in its
93
- * {@link getIndex} fingerprint.
94
- *
95
- * It equals OpenChemLib's own query fingerprint, except for the queries that one wrongly rejects
96
- * true matches of: an exclude group cutting an aromatic ring, or a "match formal bond order" bond
97
- * (Actelion/openchemlib#177). The first is fingerprinted on the fragment the search matches; the
98
- * second gets no bits.
99
- * @param idCodeQuery - The query, as an idcode; read as a fragment whatever its own fragment flag.
100
- * @returns Sixteen words.
101
- * @throws {Error} If the query cannot be parsed.
102
- */
103
- export declare function getQueryIndex(idCodeQuery: string): Int32Array;
104
- /**
105
- * Returns the 512 key fragments of FragFp, in bit order: bit i of {@link getIndex} is set when key i
106
- * is a substructure of the molecule. They are OpenChemLib's own keys, the list `openchemlib`'s
107
- * `SSSearcherWithIndex.getKeyIDCode()` returns.
108
- *
109
- * Bit i sits in word `i >> 5`, the first key in the highest bit of word 0:
110
- *
111
- * ```js
112
- * const keys = getFragFpKeys();
113
- * const index = getIndex(idCode);
114
- * const held = keys.filter((key, i) => index[i >> 5] & (1 << (31 - (i & 31))));
115
- * ```
116
- * @returns 512 idcodes, each a query fragment, in bit order. The array is the caller's own.
117
- */
118
- export declare function getFragFpKeys(): string[];
119
- /**
120
- * Returns the 512 key fragments of the screen, in bit order: bit i of {@link getScreen} is set when
121
- * key i is a substructure of the molecule. The words are laid out as {@link getFragFpKeys} shows.
122
- *
123
- * The list is frozen: changing, adding or reordering a key changes every stored screen, so it only
124
- * changes in a major release.
125
- * @returns 512 idcodes, each a query fragment, in bit order. The array is the caller's own.
126
- */
127
- export declare function getScreenKeys(): string[];
128
- /**
129
- * Hashes one idcode to the 64-bit value OpenChemLib identifies a molecule by up to tautomerism and
130
- * stereochemistry.
131
- *
132
- * Every tautomer of a structure and every stereoisomer of it give the same hash, so two records key
133
- * to the same value whether the compound was drawn as the keto or the enol form, and whether or not
134
- * its stereo centres were assigned. That is what makes it the column to look a compound up by when
135
- * "the same molecule" means the same constitution rather than the same drawing.
136
- *
137
- * It is OpenChemLib's own `CanonizerUtil.getNoStereoTautomerHash`, so the value matches what any
138
- * other OpenChemLib build computes, and it is a signed 64-bit integer — what an SQLite `INTEGER`
139
- * column stores and indexes directly:
140
- *
141
- * ```js
142
- * insert.run(entryId, getNoStereoTautomerHash(idCode));
143
- * ```
144
- * @param idCode - The molecule to hash, as an idcode.
145
- * @param options - See {@link HashOptions}.
146
- * @returns Its hash, or `NO_HASH` (`0n`) for an idcode that will not parse or a molecule
147
- * OpenChemLib cannot canonize.
148
- */
149
- export declare function getNoStereoTautomerHash(idCode: string, options?: HashOptions): bigint;
150
- /**
151
- * Hashes every idcode to its no-stereo tautomer hash, one 64-bit value each.
152
- *
153
- * See {@link getNoStereoTautomerHash} for what the hash identifies. A drug-like molecule costs
154
- * around 130 µs, against 520 µs for `openchemlib-js`, and almost all of that is canonizing the
155
- * generic tautomer rather than the hashing itself. That cost is nothing like uniform: it is driven
156
- * by how many tautomeric sites the molecule has, and one with a great many can take the better part
157
- * of a second before OpenChemLib abandons the enumeration — so a library import belongs in a worker
158
- * rather than on the main thread.
159
- *
160
- * The hashes come back in one `BigInt64Array` rather than one value per molecule, so a table of
161
- * them costs a single allocation and can be written straight into a column.
162
- * @param idCodes - The molecules to hash, as idcodes.
163
- * @param options - See {@link HashOptions}.
164
- * @returns One hash per idcode, in order, with `NO_HASH` (`0n`) for each one that could not be
165
- * hashed.
166
- */
167
- export declare function getNoStereoTautomerHashes(idCodes: string[], options?: HashOptions): BigInt64Array;
168
- /**
169
- * Hashes one idcode to the 64-bit value OpenChemLib identifies a molecule by up to stereochemistry.
170
- *
171
- * Every stereoisomer of a structure gives the same hash, and nothing else does: unlike
172
- * {@link getNoStereoTautomerHash} the tautomers stay apart, so the keto and the enol form of a
173
- * compound key differently. That makes it the narrower of the two identity columns — the one to use
174
- * when a record's stereo centres are unreliable but the bonds it was drawn with are not.
175
- *
176
- * It is OpenChemLib's own `CanonizerUtil.getNoStereoHash`, so the value matches what any other
177
- * OpenChemLib build computes, and it is a signed 64-bit integer — what an SQLite `INTEGER` column
178
- * stores and indexes directly:
179
- *
180
- * ```js
181
- * insert.run(entryId, getNoStereoHash(idCode));
182
- * ```
183
- * @param idCode - The molecule to hash, as an idcode.
184
- * @param options - See {@link HashOptions}.
185
- * @returns Its hash, or `NO_HASH` (`0n`) for an idcode that will not parse or a molecule
186
- * OpenChemLib cannot canonize.
187
- */
188
- export declare function getNoStereoHash(idCode: string, options?: HashOptions): bigint;
189
- /**
190
- * Hashes every idcode to its no-stereo hash, one 64-bit value each.
191
- *
192
- * See {@link getNoStereoHash} for what the hash identifies. It costs a fraction of
193
- * {@link getNoStereoTautomerHashes} because it canonizes the molecule itself instead of enumerating
194
- * its tautomers, and its cost is even across a library rather than driven by how tautomeric each
195
- * molecule happens to be.
196
- *
197
- * The hashes come back in one `BigInt64Array` rather than one value per molecule, so a table of
198
- * them costs a single allocation and can be written straight into a column.
199
- * @param idCodes - The molecules to hash, as idcodes.
200
- * @param options - See {@link HashOptions}.
201
- * @returns One hash per idcode, in order, with `NO_HASH` (`0n`) for each one that could not be
202
- * hashed.
203
- */
204
- export declare function getNoStereoHashes(idCodes: string[], options?: HashOptions): BigInt64Array;
205
- /**
206
- * Canonizes one idcode to the form OpenChemLib identifies a molecule by up to stereochemistry.
207
- *
208
- * This is the string {@link getNoStereoHash} hashes, for a database that stores the canonical form
209
- * itself. Prefer the hash where the column is only ever compared: it is a signed 64-bit integer, so
210
- * it stores and indexes in 8 bytes where these idcodes average around 25 characters.
211
- *
212
- * ```js
213
- * getNoStereoIdCode(idCode); // 'gGX`BDdwMT@@'
214
- * ```
215
- * @param idCode - The molecule to canonize, as an idcode.
216
- * @param options - See {@link HashOptions}.
217
- * @returns Its canonical no-stereo idcode, or `NO_ID_CODE` (`''`) for an idcode that will not parse
218
- * or a molecule OpenChemLib cannot canonize.
219
- */
220
- export declare function getNoStereoIdCode(idCode: string, options?: HashOptions): string;
221
- /**
222
- * Canonizes every idcode to the form OpenChemLib identifies a molecule by up to stereochemistry.
223
- *
224
- * See {@link getNoStereoIdCode} for what the form identifies.
225
- * @param idCodes - The molecules to canonize, as idcodes.
226
- * @param options - See {@link HashOptions}.
227
- * @returns One idcode per input, in order, with `NO_ID_CODE` (`''`) for each one that could not be
228
- * canonized.
229
- */
230
- export declare function getNoStereoIdCodes(idCodes: string[], options?: HashOptions): string[];
231
- /**
232
- * Canonizes one idcode to the form OpenChemLib identifies a molecule by up to tautomerism and
233
- * stereochemistry.
234
- *
235
- * This is the string {@link getNoStereoTautomerHash} hashes. It is the generic tautomer's idcode, so
236
- * it is longer than the molecule's own — around twice it for a molecule with tautomeric sites — and
237
- * it is not a structure: parsing it back gives a molecule with every tautomeric bond normalized, not
238
- * the compound. Use it as a key, never as something to draw.
239
- * @param idCode - The molecule to canonize, as an idcode.
240
- * @param options - See {@link HashOptions}.
241
- * @returns Its canonical no-stereo generic-tautomer idcode, or `NO_ID_CODE` (`''`) for an idcode that
242
- * will not parse or a molecule OpenChemLib cannot canonize.
243
- */
244
- export declare function getNoStereoTautomerIdCode(idCode: string, options?: HashOptions): string;
245
- /**
246
- * Canonizes every idcode to the form OpenChemLib identifies a molecule by up to tautomerism and
247
- * stereochemistry.
248
- *
249
- * See {@link getNoStereoTautomerIdCode} for what the form identifies, and
250
- * {@link getNoStereoTautomerHashes} for what it costs — the canonization is the expensive part, not
251
- * the hashing, so these cost what those do.
252
- * @param idCodes - The molecules to canonize, as idcodes.
253
- * @param options - See {@link HashOptions}.
254
- * @returns One idcode per input, in order, with `NO_ID_CODE` (`''`) for each one that could not be
255
- * canonized.
256
- */
257
- export declare function getNoStereoTautomerIdCodes(idCodes: string[], options?: HashOptions): string[];
258
- //# sourceMappingURL=index.d.ts.map
1
+ declare const SubstructureResult: Readonly<{
2
+ unprocessed: 0;
3
+ match: 1;
4
+ noMatch: 2;
5
+ unparsable: 3;
6
+ }>;
7
+ declare const SimilarityResult: Readonly<{
8
+ unprocessed: number;
9
+ unparsable: -1;
10
+ }>;
11
+ type ResultBuffer = Uint8Array | Float32Array;
12
+ type SearchMode = 'substructure' | 'similarity';
13
+ interface SearchStep {
14
+ result: ResultBuffer;
15
+ processed: number;
16
+ total: number;
17
+ matched: number;
18
+ unparsable: number;
19
+ elapsed: number;
20
+ }
21
+ interface SearchOptions {
22
+ jpath?: string;
23
+ onStep?: (step: SearchStep) => boolean | void;
24
+ stepSize?: number;
25
+ collect?: boolean;
26
+ }
27
+ interface SubstructureSearchOptions extends SearchOptions {
28
+ limit?: number;
29
+ }
30
+ interface SimilaritySearchOptions extends SearchOptions {
31
+ threshold?: number;
32
+ limit?: number;
33
+ }
34
+ interface SearchResult<Entry> {
35
+ matches: Entry[];
36
+ indexes: number[];
37
+ matched: number;
38
+ unparsable: number;
39
+ processed: number;
40
+ total: number;
41
+ elapsed: number;
42
+ stopped: boolean;
43
+ }
44
+ interface SubstructureSearchResult<Entry> extends SearchResult<Entry> {
45
+ result: Uint8Array;
46
+ }
47
+ interface SimilaritySearchResult<Entry> extends SearchResult<Entry> {
48
+ similarities: Float32Array;
49
+ result: Float32Array;
50
+ }
51
+ declare const INDEX_WORDS = 16;
52
+ declare const RECORD_WORDS: number;
53
+ interface HashOptions {
54
+ largestFragmentOnly?: boolean;
55
+ maxTautomers?: number;
56
+ tautomerCounts?: Int32Array;
57
+ }
58
+ type TautomerHashOptions = HashOptions;
59
+ interface MoleculeRecordsOptions {
60
+ maxTautomers?: number;
61
+ }
62
+ interface MoleculeRecords {
63
+ idCodes: string[];
64
+ words: Int32Array;
65
+ atomCounts: Int32Array;
66
+ weights: Float64Array;
67
+ noStereoHashes: BigInt64Array;
68
+ tautomerHashes: BigInt64Array;
69
+ tautomerCounts: Int32Array;
70
+ }
71
+ interface MoleculeSizes {
72
+ atomCounts: Int32Array;
73
+ weights: Float64Array;
74
+ }
75
+ declare const NO_HASH = 0n;
76
+ declare const NO_ID_CODE = "";
77
+ declare const DEFAULT_MAX_TAUTOMERS = 100000;
78
+
79
+ declare function substructureSearch<Entry>(idCodeQuery: string | readonly string[], entries: readonly Entry[], options?: SubstructureSearchOptions): SubstructureSearchResult<Entry>;
80
+
81
+ type LogStream = 'stdout' | 'stderr';
82
+ type LogHandler = (message: string, stream: LogStream) => void;
83
+ declare function setLogHandler(next: LogHandler | null): void;
84
+
85
+ declare function hashToHex(hash: bigint): string;
86
+ declare function hexToHash(hex: string): bigint;
87
+
88
+ declare function strongHash(text: string): bigint;
89
+
90
+ declare function similaritySearch<Entry>(idCodeQuery: string, entries: readonly Entry[], options?: SimilaritySearchOptions): SimilaritySearchResult<Entry>;
91
+
92
+ declare function getMoleculeRecords(idCodes: string[], options?: MoleculeRecordsOptions): MoleculeRecords;
93
+ declare function getMoleculeSizes(idCodes: string[]): MoleculeSizes;
94
+ declare function getQueryAtomFloor(idCodeQuery: string): number;
95
+
96
+ declare function getFunction(idCode: string): Int32Array;
97
+ declare function getFunctions(idCodes: string[]): Int32Array[];
98
+ declare function getFunctionKeyFragments(): string[][];
99
+
100
+ declare function getIndex(idCode: string): Int32Array;
101
+ declare function getIndexes(idCodes: string[]): Int32Array[];
102
+ declare function getScreen(idCode: string): Int32Array;
103
+ declare function getScreens(idCodes: string[]): Int32Array[];
104
+ declare function getQueryScreen(idCodeQuery: string): Int32Array;
105
+ declare function getQueryIndex(idCodeQuery: string): Int32Array;
106
+ declare function getFragFpKeys(): string[];
107
+ declare function getScreenKeys(): string[];
108
+ declare function getNoStereoTautomerHash(idCode: string, options?: HashOptions): bigint;
109
+ declare function getNoStereoTautomerHashes(idCodes: string[], options?: HashOptions): BigInt64Array;
110
+ declare function getNoStereoHash(idCode: string, options?: HashOptions): bigint;
111
+ declare function getNoStereoHashes(idCodes: string[], options?: HashOptions): BigInt64Array;
112
+ declare function getNoStereoIdCode(idCode: string, options?: HashOptions): string;
113
+ declare function getNoStereoIdCodes(idCodes: string[], options?: HashOptions): string[];
114
+ declare function getNoStereoTautomerIdCode(idCode: string, options?: HashOptions): string;
115
+ declare function getNoStereoTautomerIdCodes(idCodes: string[], options?: HashOptions): string[];
116
+
117
+ export { DEFAULT_MAX_TAUTOMERS, INDEX_WORDS, NO_HASH, NO_ID_CODE, RECORD_WORDS, SimilarityResult, SubstructureResult, getFragFpKeys, getFunction, getFunctionKeyFragments, getFunctions, getIndex, getIndexes, getMoleculeRecords, getMoleculeSizes, getNoStereoHash, getNoStereoHashes, getNoStereoIdCode, getNoStereoIdCodes, getNoStereoTautomerHash, getNoStereoTautomerHashes, getNoStereoTautomerIdCode, getNoStereoTautomerIdCodes, getQueryAtomFloor, getQueryIndex, getQueryScreen, getScreen, getScreenKeys, getScreens, hashToHex, hexToHash, setLogHandler, similaritySearch, strongHash, substructureSearch };
118
+ export type { HashOptions, LogHandler, LogStream, MoleculeRecords, MoleculeRecordsOptions, MoleculeSizes, ResultBuffer, SearchMode, SearchOptions, SearchResult, SearchStep, SimilaritySearchOptions, SimilaritySearchResult, SubstructureSearchOptions, SubstructureSearchResult, TautomerHashOptions };