/** * Check if a file or directory is accessible with the given modes. * * Modes can be a combination of 'r', 'w', and 'x'. * * @param type - The type of the path ('file' or 'directory'). * @param modes - The access modes to check ('r', 'w', 'x' or a combination). * @param path - The path to check. * @returns A promised boolean indicating if the path is accessible. */ export declare function isAccessible(type: 'file' | 'directory', modes: string, path: string): Promise;