import { Plugin } from 'unified';

declare function npmToBun(str: string): string;

/**
 * Copyright (c) 2019 Ben Gubler <nebrelbug@gmail.com>
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
declare function npmToPnpm(str: string): string;

declare function npmToYarn(str: string): string;

interface PluginOptions {
    sync?: boolean;
    convertToBun?: boolean;
}

declare const convertNpmToPackageManagers: Plugin<[PluginOptions?]>;

export { type PluginOptions, convertNpmToPackageManagers, npmToBun, npmToPnpm, npmToYarn };
