import { ILock, ILogger } from '@emscripten-forge/mambajs-core'; import { ISolveOptions } from './solver'; import { Platform } from '@conda-org/rattler'; export * from '@emscripten-forge/mambajs-core'; /** * Solve the environment * @param options * @returns the new lock */ export declare function solve(options: ISolveOptions): Promise; /** * Create an environment from an environment.yml definition * @param yml the environment.yml file content * @param platform the target environment platform (defaults to emscripten-wasm32) * @param logger the logs handler * @returns the solved environment */ export declare function create(options: { yml: string; platform?: Platform; logger?: ILogger; }): Promise; /** * Install conda packages in an existing environment * @param specs the new specs * @param channels the channels to use * @param env the current environment lock * @param logger the logs handler * @returns the solved environment */ export declare function install(specs: string[], env: ILock, channels?: string[], logger?: ILogger): Promise; /** * Remove conda packages in an existing environment * @param packages the packages to remove * @param env the current environment * @param logger the logs handler * @returns the solved environment */ export declare function remove(packages: string[], env: ILock, logger?: ILogger): Promise; /** * Install pip packages in an existing environment * @param specs the pip packages specs * @param env the current environment * @param logger the logs handler * @returns the solved environment */ export declare function pipInstall(specs: string[], env: ILock, logger?: ILogger): Promise; /** * Uninstall pip packages in an existing environment * @param packages the pip packages to remove * @param env the current environment * @param logger the logs handler * @returns the solved environment */ export declare function pipUninstall(packages: string[], env: ILock, logger?: ILogger): Promise;