/**
 * @file Utilities - ignore404
 * @module trext/utils/ignore404
 */
/**
 * Waits for a promise to complete and rejects **only if** an error is thrown
 * and the error is **not** a missing file or directory error.
 *
 * @template T - Data in promise
 *
 * @async
 * @param {Promise<T>} p - Promise to evaluate
 * @return {Promise<T | null>} Data in promise or null
 * @throws {NodeJS.ErrnoException}
 */
declare function ignore404<T extends any>(p: Promise<T>): Promise<T | null>;
export default ignore404;
//# sourceMappingURL=ignore-404.util.d.ts.map