/** * Wraps a promise that is looking for a resource, and catches any 404 Not Found errors. Instead of throwing a 404, it * resolves the promise with `undefined`. All other errors are thrown like normal. * * @param promise */ export declare function find(promise: Promise): Promise; /** * Wraps a promise that is looking up a purchase code, and catches any 404 or 422 errors. Instead of throwing an * exception, it resolves the promise with `undefined`. All other errors are thrown like normal. * * @param promise */ export declare function findPurchaseCode(promise: Promise): Promise; declare const _default: { find: typeof find; findPurchaseCode: typeof findPurchaseCode; }; export default _default;