import { ProcessInfo, FindConfig, FindMethod } from './types'; /** * find process by condition * * return Promise: [{ * pid: , * ppid: , * uid: , * gid: , * name: , * cmd: * }, ...] * * If no process found, resolve process with empty array (only reject when error occured) * * @param {String} by condition: port/pid/name ... * @param {Mixed} condition value * @param {Boolean|Option} * @return {Promise} */ declare function find(by: FindMethod, value: string | RegExp | number, options?: FindConfig | boolean): Promise; export default find; //# sourceMappingURL=find.d.ts.map