import type { ReactNode } from 'react'; import React from 'react'; import type { Theme } from '../../theme'; interface PortalProps { name?: string; hostName?: string; children?: ReactNode | ReactNode[]; /** * Theme for portal children. */ theme?: Theme; } declare const _default: React.NamedExoticComponent & { readonly type: ({ name, hostName, children, theme }: PortalProps) => null; } & { Provider: React.MemoExoticComponent<({ rootHostName, children, }: import("./PortalProvider").PortalProviderProps) => React.JSX.Element>; Host: React.MemoExoticComponent<({ name }: import("./PortalHost").PortalHostProps) => React.JSX.Element>; }; export default _default;