<!-- source-hash: 30ce64f08f17859a1a4da9781ecb7e5e -->
Barrel export file for the shared legal-document UI surface, consolidating a reusable `<LegalDocumentPage>` component and its data-fetching hook into a single import point.

## Key Components

| Export | Type | Description |
|--------|------|-------------|
| `LegalDocumentPage` | Component | Parameterized page component replacing duplicated `PrivacyPolicyPage` and `TermsOfServicePage` |
| `LegalDocumentPageProps` | Type | Props interface for `LegalDocumentPage` |
| `LegalDocumentMarkdownRendererProps` | Type | Props interface for the internal markdown renderer |
| `useLegalDocs` | Hook | Data-fetching hook for retrieving legal document content |
| `LegalDocument` | Type | Shape of a single legal document entity |
| `UseLegalDocsOptions` | Type | Configuration options for `useLegalDocs` |
| `UseLegalDocsReturn` | Type | Return value shape of `useLegalDocs` |

## Usage Example

```typescript
import {
  LegalDocumentPage,
  type LegalDocumentPageProps,
  useLegalDocs,
  type LegalDocument,
} from '@/features/legal';

// Render a Privacy Policy page
const privacyConfig: LegalDocumentPageProps = {
  title: 'Privacy Policy',
  slug: 'privacy-policy',
};

export const PrivacyPolicyPage = () => (
  <LegalDocumentPage {...privacyConfig} />
);

// Or fetch the document data directly
const { document, isLoading } = useLegalDocs({ slug: 'terms-of-service' });
```

> **Design note:** This barrel consolidates what were previously two ~95% identical page components into a single parameterized surface, reducing duplication while keeping import paths clean for consumers.