import type { PropsWithChildren, ReactElement } from "react"; import { type ILayoutProps, type LayoutComponent } from "./Layout"; export type IUseLayoutProps = PropsWithChildren; }>; export type IUseLayoutResult = ReactElement; export type IUseLayout = (props: UseLayoutProps) => IUseLayoutResult; export declare function useLayout({ Component, ...props }: UseLayoutProps): IUseLayoutResult;