import PObjectMap from "../org/subalternproductions/seepResource/dsl/parser/PObjectMap"; export declare class CompareResult { constructor(comparisons: any); numErrs: number; hasErrors: boolean; comparisons: { [uri: string]: boolean; }; show(): string; } export default class STest { static assertLoc(o: any, startLine: number, startCol: number, endLine: number, endCol: number, map: PObjectMap, includeToken: boolean, out: any, path: string): void; static assertItemLoc(o: any, p: any, startLine: number, startCol: number, endLine: number, endCol: number, map: PObjectMap, includeToken?: boolean, out?: any, path?: string): void; static assertLocation_low(o: any, propertyName: string, index: number, startLine: number, startCol: number, endLine: number, endCol: number, map: PObjectMap, includeToken: boolean, out: any, path: string): void; static assertEquals(label: string, v1: any, v2: any, out: any, path: string): Boolean; static fail(v: string): void; /** * iterate dynamic objects and test basic equality, includes * - string, boolean literals, numbers * - child objects * - arrays * * note: * - just iterates o1 and makes sure o2 has equivalent properties, not vice-versa. * */ static compareObjects(o1: any, o2: any, out?: any, path?: string): CompareResult; static assertObject_low(label: string, o1: any, o2: any, out?: any, path?: string): any; /** * strip properties from an object * * @param o1 - he object * @param ignore - hash of properies to removed, defaults to {__uid:true} */ static stripPs(o1: any, ignore?: { [name: string]: any; }): any; }