declare const which: (type: string, prog: string, promise: () => Promise) => Promise; export declare const sudo: (type: string, prog: string, args: string) => Promise; export default which;