declare class IfCondition { constructor(obj: any); testIf(): void; then(): void; else(): void; get result(): void; }