/**
 * Generic testing utilities
 */
/**
 * Retrieve an error for examination. Modified from
 * https://stackoverflow.com/a/49512933/650894
 *
 * @param call Function that may throw an error; can be async
 * @returns The thrown error if one was thrown, otherwise returns
 *   the error NoErrorThrownError
 */
export declare function getError<E>(call: () => unknown): Promise<E | null>;
/**
 * Embeds code that will never run within a callback. Useful for
 * testing expected type errors.
 * @param description Description of the code that will never run
 * @param callback Callback that will never run
 */
export declare function ignore(_description: string, _: () => void): void;
//# sourceMappingURL=test-utils.d.ts.map