@bloodhound-rs/core 0.1.2 → 0.2.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.
@@ -0,0 +1,24 @@
1
+ /* Generated by napi-rs. Do not edit. */
2
+ import type { ScanEntry, ScanOptions, Source, Budgets } from './types.js';
3
+ /**
4
+ * Which binding artifact the generated loader actually loaded: `'native'` for
5
+ * a native addon, otherwise the `platformArchABI` of the WASI flavor. Every
6
+ * flavor napi-rs can build is listed, because `NAPI_RS_NATIVE_LIBRARY_PATH`
7
+ * can point the loader at a WASI artifact this package does not build itself.
8
+ */
9
+ export declare const __napiBindingTarget: 'native' | 'wasm32-wasi' | 'wasm32-wasip1'
10
+
11
+ /** Default budgets, for documentation and plugin defaults. */
12
+ export declare function defaultBudgets(): Budgets
13
+
14
+ /** Scans one HTML document given as text or a source object. */
15
+ export declare function scanHtmlRaw(input: Source | string, options?: ScanOptions): Promise<string>
16
+
17
+ /** Scans one JavaScript resource given as text or a source object. */
18
+ export declare function scanJsRaw(input: Source | string, options?: ScanOptions): Promise<string>
19
+
20
+ /** Scans a list of entries. */
21
+ export declare function scanRaw(entries: ScanEntry[], options?: ScanOptions): Promise<string>
22
+
23
+ /** Scanner and parser versions. */
24
+ export declare function version(): { scanner: string; parser: string; schema: number }