import * as React from 'react'; /** @internal Walks the elements a consumer declared in `children`, reporting each one's component `displayName` and props, needed on the server where registration effects don't run. */ export declare function forEachDeclaredElement(children: React.ReactNode, visit: (displayName: string | undefined, props: Record) => void): void; /** Whether `children` declares an element whose component `displayName` is `displayName`. @internal */ export declare function hasDeclaredChild(children: React.ReactNode, displayName: string): boolean;