/**
 * Enables enviromental checks for conditional imports, ensuring
 * that Node functionality in bundle that is not used does not cause
 * issues in browsers or WebView
 */
export declare class Environment {
    private static _isNode;
    private static _isBrowser;
    static get isNode(): boolean;
    static get isBrowser(): boolean;
    static get hasDOMParser(): boolean;
    static requireNodeEnvironment(operation: string): void;
}
export declare class ConditionalImports {
    private static nodeModules;
    /**
     * This method is kept for backward compatibility but direct imports are preferred
     */
    static getNodeModule(moduleName: string): Promise<any>;
    /**
     * Helper method for safe dynamic imports with better error messages
     */
    static safeImport(moduleName: string, operation: string): Promise<any>;
}
export declare function safeDynamicImport(moduleName: string): Promise<any>;
//# sourceMappingURL=environment.d.ts.map