export declare function canInvoke(obj: unknown, methodName: string): boolean;