1 |
|
2 |
|
3 | export = isExe;
|
4 |
|
5 | declare function isExe(path: string, options?: isExe.Options): Promise<boolean>;
|
6 | declare function isExe(
|
7 | path: string,
|
8 | callback: (error: NodeJS.ErrnoException | undefined, isExe: boolean) => void,
|
9 | ): void;
|
10 | declare function isExe(
|
11 | path: string,
|
12 | options: isExe.Options,
|
13 | callback: (error: NodeJS.ErrnoException | undefined, isExe: boolean) => void,
|
14 | ): void;
|
15 |
|
16 | declare namespace isExe {
|
17 | function sync(path: string, options?: Options): boolean;
|
18 |
|
19 | interface Options {
|
20 | ignoreErrors?: boolean | undefined;
|
21 | uid?: number | undefined;
|
22 | gid?: number | undefined;
|
23 | pathExt?: string | undefined;
|
24 | }
|
25 | }
|