/** * E2E Test Runner - Shared Assertion Runner * * Unified assertion logic for all adapters */ /** * Base assertion interface with all supported operators * All adapters should extend or use this interface */ export interface BaseAssertion { equals?: unknown; contains?: string; matches?: string; exists?: boolean; type?: string; length?: number; notEmpty?: boolean; isEmpty?: boolean; greaterThan?: number; lessThan?: number; isNull?: boolean; isNotNull?: boolean; } /** * Run all assertions on a value * * @param value - The value to assert against * @param assertion - The assertion operators to apply * @param path - Optional path for error messages (e.g., "$.errors[0].code") */ export declare function runAssertion(value: unknown, assertion: BaseAssertion, path?: string): void; /** * Get the length of a value (array, string, or object keys) */ export declare function getValueLength(value: unknown): number; /** * Get the type of a value (with special handling for arrays and null) */ export declare function getValueType(value: unknown): string; //# sourceMappingURL=assertion-runner.d.ts.map