export default function getCurrentDocument(obj: unknown): Document | null;