/**
 * Client-only exports for Riverbank CMS SDK
 *
 * This module contains React hooks and components that require client-side React features
 * (useState, useEffect, etc). Import from this module in Client Components only.
 *
 * @example Client Component
 * ```tsx
 * "use client";
 *
 * import { usePage, Page } from '@riverbankcms/sdk/client';
 *
 * export function DynamicPage({ path }: { path: string }) {
 *   const pageData = usePage({ client, siteId: 'site-123', path });
 *
 *   if (pageData.loading) return <div>Loading...</div>;
 *   if (pageData.error) return <div>Error: {pageData.error.message}</div>;
 *
 *   return <Page {...pageData} />;
 * }
 * ```
 *
 * @packageDocumentation
 */
export { usePage } from './rendering/hooks/usePage';
export type { UsePageParams, UsePageResult } from './rendering/hooks/usePage';
export { useContent, isContentLoading, isContentError, isPageContentResult, isEntryContentResult, } from './rendering/hooks/useContent';
export type { UseContentParams, UseContentResult } from './rendering/hooks/useContent';
export { Page } from './rendering/components/Page';
export type { PageProps } from './rendering/components/Page';
export type { ContentEntryData } from './rendering/helpers/loadContent';
export { createRiverbankClient } from './client/index';
export type { RiverbankClient, RiverbankClientConfig } from './client/types';
