quelda
Version:
PDF & Illustrator security scanner (WebAssembly): files + policy in, verdict out
10 lines (9 loc) • 553 B
TypeScript
import { type Scanner, type ScannerOptions } from './scanner.js';
export { DEFAULT_TIMEOUT_MS, QueldaError, type ListRulesOptions, type Scanner, type ScannerOptions, type ScanOptions, } from './scanner.js';
export type { WorkerEvent, WorkerEventType, WorkerLike } from './protocol.js';
export * from './types.js';
/**
* Starts a Web Worker, loads the WASM engine once and resolves when it is
* ready. Rejects with a {@link QueldaError} if the engine cannot start.
*/
export declare function createScanner(options?: ScannerOptions): Promise<Scanner>;