import { default as React, Ref } from 'react'; import { NestedNavigationOwnProps as CoreNestedNavigationOwnProps } from '../../.deps/ui/core-web/src'; import { SafeOmit } from '../../.deps/utils/src'; import { NestedNavigationContent } from './NestedNavigationContent'; import { NestedNavigationHeader } from './NestedNavigationHeader'; export interface NestedNavigationOwnProps extends CoreNestedNavigationOwnProps { ref?: Ref; /** * Whether to render the standard header above the levels. Disable to compose * `NestedNavigation.Header` inside each `Level` instead. * @default true */ renderHeader?: boolean; } export interface NestedNavigationInheritedDivProps extends SafeOmit, 'children' | 'className' | 'title'> { } export interface NestedNavigationProps extends NestedNavigationOwnProps, NestedNavigationInheritedDivProps { } export declare const NestedNavigation: (({ stack, defaultStack, onStackChange, onClose, children, ref, renderHeader, ...rest }: NestedNavigationProps) => React.JSX.Element) & { Content: typeof NestedNavigationContent; Header: typeof NestedNavigationHeader; Item: React.ForwardRefExoticComponent>; Level: typeof import('../../.deps/ui/core-web/src').NestedNavigationLevel; List: (({ children, ...rest }: import('./NestedNavigationList').NestedNavigationListProps) => React.JSX.Element) & { Item: React.ForwardRefExoticComponent>; }; };