/** * Provides access to the core Wasm module of DsPdfJS. */ export declare class DsPdf { /** * The singleton instance of the {@link DsPdf} class. * * This static property holds the currently active instance of the {@link DsPdf} class. * It is null when no instance has been created yet or after the instance has been properly disposed. */ static instance: DsPdf | null; /** * Checks and returns a valid {@link DsPdf} instance * @throws Error if no valid instance available */ static checkDsPdf(): DsPdf; /** * Disposes the {@link DsPdf} instance. * @ignore **/ dispose(): void; /** * Checks whether the DsPdf module is connected. **/ get isConnected(): boolean; /** * Returns the current version of the DsPdf WASM API. * * @returns {string} The DsPdf WASM API version string, e.g. "9.1.0". */ get version(): string; /** * Attempt to load the DsPdf module. * @returns A Promise that resolves to a boolean indicating whether the connection attempt was successful. * @ignore */ connect(): Promise; private getStringInternal; getPdfVariant(pData: number): number | string | boolean | number[] | null; setPdfVariant(value: number | string | boolean | number[] | null): void; }