import type { WordPressComponentProps } from '@wordpress/components/build-types/context'; /** * Internal dependencies */ import type { SidebarProps } from './types'; /** * Renders a sidebar for the application. * * Multiple sidebars can be rendered, but only one can be active at a time. * Additionally, sidebars can be pinned by the user for easy access. The PinnedSidebars component can be used to render * icon buttons for the pinned sidebars. * * @since 0.1.0 * * @param props - Component props. * @returns The component to be rendered. */ declare function InternalSidebar(props: WordPressComponentProps): import("react").JSX.Element; declare const Sidebar: typeof InternalSidebar & { displayName: string; Slot: (() => import("react").JSX.Element) & { displayName: string; }; }; /** * Hook to check whether any fills are provided for the Sidebar slot. * * @since 0.1.0 * * @returns True if there are any Sidebar fills, false otherwise. */ export declare function useHasSidebar(): boolean; export default Sidebar; //# sourceMappingURL=index.d.ts.map