import { MasterDetailLayout as _MasterDetailLayout } from './generated/MasterDetailLayout.js'; import React from 'react'; export * from './generated/MasterDetailLayout.js'; type MasterProps = React.PropsWithChildren<{}>; type DetailProps = React.PropsWithChildren<{}>; declare const MasterDetailLayoutWithValidation: React.FC>; /** * `MasterDetailLayout` is a React component for building UIs with a master * (or primary) area and a detail (or secondary) area that is displayed next to, or * overlaid on top of, the master area, depending on configuration and viewport size. * * Content for each area should be wrapped into to the respective * `MasterDetailLayout.Master` and `MasterDetailLayout.Detail` wrapper components. * Using any other component as a child will throw an error. To ensure that view * transitions are run properly, details content should be rendered conditionally * into the `MasterDetailLayout.Detail` component. * * @example * ```tsx * const selectedProduct = useSignal(null); * * * * { selectedProduct.value = product }} /> * * * { selectedProduct.value && } * * * ``` */ declare const MasterDetailLayout: typeof MasterDetailLayoutWithValidation & { Master: React.FC; Detail: React.FC; }; export { MasterDetailLayout }; //# sourceMappingURL=MasterDetailLayout.d.ts.map