import { ExecutionContext, SoftAssertionError } from '../types';
/**
 * Handle an assertion result - either throw immediately or collect as soft assertion
 * @param context - The execution context
 * @param condition - Whether the assertion passed
 * @param errorMessage - The error message if assertion fails
 * @param details - Additional details about the assertion
 */
export declare function handleAssertion(context: ExecutionContext, condition: boolean, errorMessage: string, details?: {
    stepId?: string;
    stepType?: string;
    expected?: unknown;
    actual?: unknown;
}): void;
/**
 * Check if there are any soft assertion errors and throw a combined error if so
 * @param context - The execution context
 * @returns The collected errors (for reporting)
 */
export declare function flushSoftAssertionErrors(context: ExecutionContext): SoftAssertionError[];
/**
 * Get soft assertion errors without throwing
 * @param context - The execution context
 * @returns The collected errors
 */
export declare function getSoftAssertionErrors(context: ExecutionContext): SoftAssertionError[];
/**
 * Clear soft assertion errors
 * @param context - The execution context
 */
export declare function clearSoftAssertionErrors(context: ExecutionContext): void;
