/**
 * @license
 * Copyright 2022-2026 Greg Lauckhart <greg@lauckhart.com>
 * SPDX-License-Identifier: Apache-2.0
 */
export declare function ignoreError<T>(code: string | string[], fn: () => Promise<T>): Promise<T | undefined>;
export declare function ignoreErrorSync<T>(code: string | string[], fn: () => T): T | undefined;
//# sourceMappingURL=errors.d.ts.map