import { type Assertion } from "vitest";
/**
 * Run an assertion in "soft" mode: catch assertion errors and log them instead of throwing.  
 *  
 * @example ```ts  
 * softExpect(() => expect(actual).toBe(42));  
 * softExpect(actual, e => e.toBe(42), "optional message");  
 * ```  
 */
export declare function softExpect(assertion: () => void | unknown): void;
export declare function softExpect<T>(actual: T, assertion: (expectation: Assertion<T>) => void | unknown, message?: string): void;
