import { PackageJson } from '@pnpm/types';
export declare type Command = {
    name: string;
    path: string;
};
/**
 * Returns bins for a package in a standard object format. This normalizes
 * between npm's string and object formats.
 *
 * @example
 *    binify({ name: 'rimraf', bin: 'cmd.js' })
 *    => { rimraf: 'cmd.js' }
 *
 *    binify({ name: 'rmrf', bin: { rmrf: 'cmd.js' } })
 *    => { rmrf: 'cmd.js' }
 */
export default function binify(pkg: PackageJson, pkgPath: string): Promise<Command[]>;
