Files
2026-04-13 09:30:59 +08:00

4 lines
284 B
TypeScript

import { getOwnerDocument, getRootNode } from '../utils/owner.js';
export declare function useOwnerDocument(...args: Parameters<typeof getOwnerDocument>): Document | null;
export declare function useRootDocument(...args: Parameters<typeof getRootNode>): Document | ShadowRoot | null;