export declare function canUseDOM(): boolean; export declare function waitVariable(varExp: string, context?: any): Promise;