import React from "react"; //#region src/index.d.ts interface MagicPortalProps { anchor: string | (() => Element | null) | Element | React.RefObject | null; position?: 'last' | 'first' | 'before' | 'after'; root?: Element; children?: React.ReactElement | null; onMount?: (anchor: Element, container: Element) => void; onUnmount?: (anchor: Element, container: Element) => void; } declare const MagicPortal: { ({ anchor, position, root, children, onMount, onUnmount }: MagicPortalProps): React.ReactPortal | null; displayName: string; }; //#endregion export { MagicPortalProps, MagicPortal as default }; //# sourceMappingURL=index.d.ts.map