/** * Platform detection and library path resolution */ /** * Get the configured native library version * @returns Library version string (e.g., "0.4.0") */ export declare function getLibraryVersion(): string; /** * Get the current platform identifier * @returns Platform string in the format: 'darwin-arm64', 'linux-amd64', etc. */ export declare function getPlatform(): string; /** * Get the shared library file name for the current platform * @returns Library filename: 'libnextimage.dylib', 'libnextimage.so', or 'libnextimage.dll' */ export declare function getLibraryFileName(): string; /** * Find the shared library path with fallback chain * Looks in the following order: * 1. ../../lib/shared/ (development mode - relative to project root) * 2. ../../lib// (development mode - platform-specific) * 3. ../lib// (installed package) * * Note: __dirname in compiled code (dist/) points to: * - Development: /typescript/dist/ * - Installed: node_modules/@ideamans/libnextimage/dist/ */ export declare function findLibraryPath(): string; export declare function getLibraryPath(): string; /** * Clear the cached library path (mainly for testing) */ export declare function clearLibraryPathCache(): void; //# sourceMappingURL=library.d.ts.map