@mintlify/msft-sdk 1.1.9 → 1.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/components/Api/ApiReferenceProvider.js +19 -0
  2. package/dist/components/Api/ApiReferenceProvider.js.map +1 -0
  3. package/dist/components/Api/MethodPill.js +21 -0
  4. package/dist/components/Api/MethodPill.js.map +1 -0
  5. package/dist/components/Api/colors.js +117 -0
  6. package/dist/components/Api/colors.js.map +1 -0
  7. package/dist/components/content-components/code-block.js +94 -66
  8. package/dist/components/content-components/code-block.js.map +1 -1
  9. package/dist/components/content-components/default-components.js +35 -61
  10. package/dist/components/content-components/default-components.js.map +1 -1
  11. package/dist/components/content-components/home.js +14 -14
  12. package/dist/components/content-components/home.js.map +1 -1
  13. package/dist/components/content-components/image.js +80 -0
  14. package/dist/components/content-components/image.js.map +1 -0
  15. package/dist/components/content-components/param-name.js.map +1 -1
  16. package/dist/components/content-components/table/index.js +1 -1
  17. package/dist/components/content-components/table/table-modal.js.map +1 -1
  18. package/dist/components/content-components/tabs/tab.js.map +1 -1
  19. package/dist/components/content-components/tabs/tabs.js +26 -22
  20. package/dist/components/content-components/tabs/tabs.js.map +1 -1
  21. package/dist/components/nav-tree/index.js +115 -103
  22. package/dist/components/nav-tree/index.js.map +1 -1
  23. package/dist/components/nav-tree/mobile-nav.js +23 -25
  24. package/dist/components/nav-tree/mobile-nav.js.map +1 -1
  25. package/dist/components/page-context-menu.js +72 -78
  26. package/dist/components/page-context-menu.js.map +1 -1
  27. package/dist/components/page.js +118 -0
  28. package/dist/components/page.js.map +1 -0
  29. package/dist/components/plain-text-page.js.map +1 -1
  30. package/dist/components/toc/index.js +8 -8
  31. package/dist/components/toc/index.js.map +1 -1
  32. package/dist/index.d.ts +227 -213
  33. package/dist/index.js +114 -36
  34. package/dist/index.js.map +1 -1
  35. package/dist/plugins/extract-headings.js +28 -0
  36. package/dist/plugins/extract-headings.js.map +1 -0
  37. package/dist/plugins/sanitize/rehype-unwrap-image-links.js.map +1 -1
  38. package/dist/styles.css +1 -1
  39. package/dist/utils/cn.js +5 -5
  40. package/dist/utils/cn.js.map +1 -1
  41. package/package.json +21 -2
  42. package/dist/components/docsLayout.js +0 -62
  43. package/dist/components/docsLayout.js.map +0 -1
  44. package/dist/components/docsPage.js +0 -133
  45. package/dist/components/docsPage.js.map +0 -1
  46. package/dist/components/nav-tree/dropdown-menu.js +0 -75
  47. package/dist/components/nav-tree/dropdown-menu.js.map +0 -1
  48. package/dist/node_modules/.pnpm/tailwind-merge@3.3.1/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2732
  49. package/dist/node_modules/.pnpm/tailwind-merge@3.3.1/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,6 +1,46 @@
1
+ import { ClassValue } from 'clsx';
1
2
  import { default as default_2 } from 'react';
3
+ import { Element as Element_2 } from 'hast';
4
+ import { Handle } from 'hast-util-to-mdast';
2
5
  import { JSX as JSX_2 } from 'react/jsx-runtime';
3
- import { ReactNode } from 'react';
6
+ import { MdxJsxFlowElement } from 'mdast-util-mdx-jsx';
7
+ import { Node as Node_2 } from 'unist';
8
+ import { Node as Node_3 } from 'hast';
9
+ import { Plugin as Plugin_2 } from 'unified';
10
+ import * as React_2 from 'react';
11
+ import { Root } from 'mdast';
12
+ import { Root as Root_2 } from 'hast';
13
+ import { State } from 'hast-util-to-mdast';
14
+ import { Text as Text_2 } from 'hast';
15
+
16
+ export declare const allComponents: {
17
+ CodeBlock: typeof CodeBlock;
18
+ Heading: ({ id, level, children, className, }: HeadingProps) => JSX_2.Element;
19
+ Link: typeof Link;
20
+ Callout: typeof Callout;
21
+ ZonePivot: typeof ZonePivot;
22
+ ZoneTarget: typeof ZoneTarget;
23
+ ParamName: typeof ParamName;
24
+ Tabs: typeof Tabs;
25
+ Tab: typeof Tab;
26
+ Details: typeof Details;
27
+ Summary: typeof Summary;
28
+ };
29
+
30
+ declare interface ApiReferenceContextValue {
31
+ apiReferenceData2?: any;
32
+ docsConfig?: any;
33
+ mdxExtracts?: any;
34
+ }
35
+
36
+ export declare function ApiReferenceProvider2({ apiReferenceData2, docsConfig, mdxExtracts, children, }: ApiReferenceProvider2Props): JSX_2.Element;
37
+
38
+ declare interface ApiReferenceProvider2Props {
39
+ apiReferenceData2?: any;
40
+ docsConfig?: any;
41
+ mdxExtracts?: any;
42
+ children: default_2.ReactNode;
43
+ }
4
44
 
5
45
  export declare interface BottomLinkConfig {
6
46
  href: string;
@@ -10,7 +50,31 @@ export declare interface BottomLinkConfig {
10
50
  }>;
11
51
  }
12
52
 
13
- export declare interface ComponentsContextValue {
53
+ export declare function Callout({ type, children }: CalloutProps): JSX_2.Element;
54
+
55
+ declare interface CalloutProps {
56
+ type: CalloutType;
57
+ children: React.ReactNode;
58
+ }
59
+
60
+ declare type CalloutType = "note" | "tip" | "important" | "caution" | "warning" | "nextstepaction";
61
+
62
+ export declare const capitalize: (str: string) => string;
63
+
64
+ export declare function cn(...inputs: ClassValue[]): string;
65
+
66
+ export declare function CodeBlock({ children, className, fileName, language, blob, contentType, }: CodeBlockProps): JSX_2.Element;
67
+
68
+ declare interface CodeBlockProps {
69
+ children: default_2.ReactNode;
70
+ className?: string;
71
+ language?: string;
72
+ fileName?: string;
73
+ blob?: Blob;
74
+ contentType?: string;
75
+ }
76
+
77
+ declare interface ComponentsContextValue {
14
78
  LinkComponent?: LinkComponent;
15
79
  }
16
80
 
@@ -19,21 +83,12 @@ export declare function ComponentsProvider({ children, LinkComponent, }: {
19
83
  LinkComponent?: LinkComponent;
20
84
  }): JSX_2.Element;
21
85
 
22
- declare type ContextualOption = {
23
- id: string;
24
- title: string;
25
- description: string;
26
- icon: default_2.ElementType;
27
- action: () => void;
28
- externalLink?: boolean;
29
- };
30
-
31
86
  export declare function convertHtmlToMdx(html: string, options?: ConvertOptions): Promise<{
32
87
  mdx: string;
33
88
  mdxExtracts: MdxExtracts;
34
89
  }>;
35
90
 
36
- declare interface ConvertOptions {
91
+ export declare interface ConvertOptions {
37
92
  metadata?: Record<string, unknown>;
38
93
  mdxExtracts?: MdxExtracts;
39
94
  images?: {
@@ -41,131 +96,35 @@ declare interface ConvertOptions {
41
96
  };
42
97
  }
43
98
 
44
- /**
45
- * DocsLayout component provides a complete documentation layout with sidebar navigation
46
- * and main content area. It's designed to be scalable, customizable, and tree-shakable.
47
- *
48
- * @example
49
- * ```tsx
50
- * <DocsLayout
51
- * navTree={{ items: [...] }}
52
- * activeHref="/docs/getting-started"
53
- * theme="dark"
54
- * bottomLinks={[
55
- * { href: "https://blog.com", label: "Blog", icon: BlogIcon }
56
- * ]}
57
- * LinkComponent={Link}
58
- * >
59
- * <YourPageContent />
60
- * </DocsLayout>
61
- * ```
62
- */
63
- export declare const DocsLayout: ({ navTree, children, activeHref, activeId, theme, className, bottomLinks, dropdown, LinkComponent, localization, telemetry, showSidebar, sidebarClassName, }: DocsLayoutProps) => JSX_2.Element;
64
-
65
- /**
66
- * Localization strings for DocsLayout
67
- */
68
- export declare interface DocsLayoutLocalization {
69
- /** Aria label for the sidebar navigation. Default: "Sidebar navigation" */
70
- sidebarAriaLabel?: string;
71
- }
72
-
73
- /**
74
- * Props for the DocsLayout component
75
- */
76
- export declare interface DocsLayoutProps {
77
- /** Navigation tree data structure */
78
- navTree: NavTreeData;
79
- /** The main content to render in the layout */
80
- children: ReactNode;
81
- /** Currently active href for navigation highlighting */
82
- activeHref?: string;
83
- /** Currently active ID for navigation highlighting */
84
- activeId?: string;
85
- /** Theme for the layout */
86
- theme?: "light" | "dark";
87
- /** Additional CSS classes for the outer container */
88
- className?: string;
89
- /** Bottom links configuration (e.g., blog, GitHub, feedback) */
90
- bottomLinks?: BottomLinkConfig[];
91
- /** Dropdown configuration for navigation */
92
- dropdown?: DropdownConfig;
93
- /** Custom Link component for navigation (e.g., React Router Link, Next.js Link) */
99
+ export declare interface CopyMarkdownOptions {
100
+ pathname: string;
101
+ onSuccess?: () => void;
102
+ onFail?: (error: unknown) => void;
103
+ }
104
+
105
+ export declare const copyMarkdownToClipboard: ({ pathname, onSuccess, onFail, }: CopyMarkdownOptions) => void;
106
+
107
+ export declare function createDefaultComponents(options?: CreateDefaultComponentsOptions): MDXComponents;
108
+
109
+ export declare interface CreateDefaultComponentsOptions {
94
110
  LinkComponent?: LinkComponent;
95
- /** Localization strings */
96
- localization?: DocsLayoutLocalization;
97
- /** Telemetry configuration */
98
- telemetry?: DocsLayoutTelemetry;
99
- /** Whether to show the sidebar. Default: true */
100
- showSidebar?: boolean;
101
- /** Custom className for the sidebar to control responsive behavior.
102
- * Default: "mint:max-lg:hidden" (hidden below lg breakpoint) */
103
- sidebarClassName?: string;
104
- }
105
-
106
- /**
107
- * Telemetry configuration for DocsLayout
108
- */
109
- export declare interface DocsLayoutTelemetry {
110
- /** Activity name for bottom link clicks */
111
- bottomLinkActivity?: string;
112
- /** Phase for bottom link clicks (e.g., "Start", "Complete") */
113
- bottomLinkPhase?: string;
114
- }
115
-
116
- /**
117
- * DocsPage component renders a documentation page with MDX content, table of contents,
118
- * zone pivot selectors, and page context menu. It supports full customization through
119
- * props for localization, telemetry, and custom components.
120
- *
121
- * @example
122
- * ```tsx
123
- * <DocsPage
124
- * payload={{
125
- * content: "...",
126
- * serializedContent: Content,
127
- * title: "Getting Started",
128
- * description: "Learn how to get started"
129
- * }}
130
- * toc={[{ title: "Introduction", slug: "intro", level: 2 }]}
131
- * theme="dark"
132
- * pathname="/docs/getting-started"
133
- * LinkComponent={Link}
134
- * localization={{
135
- * onThisPage: "In this article"
136
- * }}
137
- * telemetry={{
138
- * contextMenuActivity: "DocsPageContextMenu",
139
- * contextMenuPhase: "Start"
140
- * }}
141
- * />
142
- * ```
143
- */
144
- export declare function DocsPage({ payload, toc, navTree, dropdown, activeHref, theme, className, pathname, markdownContent, allPages, baseUrl, bottomLinks, LinkComponent, localization, telemetry, contextMenu, }: EnhancedDocsPageProps): JSX_2.Element;
145
-
146
- /**
147
- * Localization strings for DocsPage component
148
- */
149
- export declare interface DocsPageLocalization {
150
- /** Text for "On this page" heading. Default: "On this page" */
151
- onThisPage?: string;
152
- /** Loading message. Default: "Loading..." */
153
- loading?: string;
154
- /** Error title. Default: "Error" */
155
- errorTitle?: string;
156
- /** Generic error message. Default: "Something went wrong" */
157
- errorMessage?: string;
158
- /** Not found title. Default: "Page not found" */
159
- notFoundTitle?: string;
160
- /** Not found message. Default: "The page you're looking for doesn't exist" */
161
- notFoundMessage?: string;
162
111
  }
163
112
 
113
+ export declare const defaultComponents: MDXComponents;
114
+
115
+ export declare function Details({ children, open }: DetailsProps): JSX_2.Element;
116
+
117
+ declare interface DetailsProps {
118
+ children: default_2.ReactNode;
119
+ open?: boolean;
120
+ }
121
+
122
+ export declare function DocsPage({ payload, toc, navTree, activeHref, theme, className, pathname, markdownContent, allPages, baseUrl, bottomLinks, LinkComponent, }: DocsPageProps): JSX_2.Element;
123
+
164
124
  export declare interface DocsPageProps {
165
125
  payload: PayloadData;
166
126
  toc?: TocItem[];
167
127
  navTree?: NavTreeData;
168
- dropdown?: DropdownConfig;
169
128
  activeHref?: string;
170
129
  theme?: "light" | "dark";
171
130
  className?: string;
@@ -177,64 +136,44 @@ export declare interface DocsPageProps {
177
136
  LinkComponent?: LinkComponent;
178
137
  }
179
138
 
180
- /**
181
- * Telemetry configuration for DocsPage
182
- */
183
- export declare interface DocsPageTelemetry {
184
- /** Activity name for page context menu interactions */
185
- contextMenuActivity?: string;
186
- /** Phase for context menu interactions */
187
- contextMenuPhase?: string;
188
- /** Activity name for TOC link clicks */
189
- tocLinkActivity?: string;
190
- /** Phase for TOC link clicks */
191
- tocLinkPhase?: string;
192
- /** Activity name for zone pivot selector changes */
193
- zonePivotActivity?: string;
194
- /** Phase for zone pivot changes */
195
- zonePivotPhase?: string;
196
- }
197
-
198
- export declare interface DropdownConfig {
199
- title: string;
200
- description: string;
201
- icon?: default_2.ComponentType<{
202
- className?: string;
203
- }>;
204
- color?: {
205
- light?: string;
206
- dark?: string;
207
- };
208
- items?: DropdownItem[];
209
- }
210
-
211
- export declare interface DropdownItem {
212
- title: string;
213
- href?: string;
214
- description?: string;
215
- icon?: default_2.ComponentType<{
216
- className?: string;
217
- }>;
218
- }
139
+ export declare type ElementType = {
140
+ type?: string;
141
+ tagName?: string;
142
+ };
219
143
 
220
- /**
221
- * Enhanced DocsPageProps with localization and telemetry support
222
- */
223
- export declare interface EnhancedDocsPageProps extends DocsPageProps {
224
- /** Localization strings */
225
- localization?: DocsPageLocalization;
226
- /** Telemetry configuration */
227
- telemetry?: DocsPageTelemetry;
228
- /** Context menu configuration */
229
- contextMenu?: PageContextMenuConfig;
230
- }
144
+ export declare function extractHeadings(): (tree: Node_2, file: unknown) => void;
231
145
 
232
146
  export declare function generateLlmsFullTxt(pages: LlmsPageConfig[], baseUrl: string): Promise<string>;
233
147
 
234
148
  export declare function generateLlmsTxt(pages: LlmsPageConfig[], baseUrl: string): string;
235
149
 
150
+ export declare function getClassNames(element: Element_2): string[];
151
+
152
+ export declare const getNodeText: (node: unknown) => string;
153
+
154
+ export declare function getPageMarkdown(pathname: string): Promise<string>;
155
+
156
+ export declare function getTextContent(node: Element_2 | Text_2): string;
157
+
158
+ export declare const Heading: ({ id, level, children, className, }: HeadingProps) => JSX_2.Element;
159
+
160
+ declare interface HeadingProps {
161
+ id: string;
162
+ level: 1 | 2 | 3 | 4 | 5 | 6;
163
+ children: default_2.ReactNode;
164
+ className?: string;
165
+ }
166
+
236
167
  export declare const Home: () => JSX_2.Element;
237
168
 
169
+ export declare function isElement<T extends ElementType = Element_2>(node: ElementType | undefined, key?: keyof T, element?: string): node is T & {
170
+ data?: {
171
+ meta?: unknown;
172
+ };
173
+ };
174
+
175
+ export declare function Link({ href, children, className }: LinkProps): JSX_2.Element;
176
+
238
177
  export declare type LinkComponent = default_2.ComponentType<LinkComponentProps>;
239
178
 
240
179
  export declare interface LinkComponentProps extends default_2.AnchorHTMLAttributes<HTMLAnchorElement> {
@@ -242,6 +181,12 @@ export declare interface LinkComponentProps extends default_2.AnchorHTMLAttribut
242
181
  className?: string;
243
182
  }
244
183
 
184
+ declare interface LinkProps {
185
+ href?: string;
186
+ children: default_2.ReactNode;
187
+ className?: string;
188
+ }
189
+
245
190
  export declare interface LlmsPageConfig {
246
191
  title: string;
247
192
  slug: string;
@@ -256,7 +201,7 @@ export declare interface LlmsPageConfig {
256
201
  };
257
202
  }
258
203
 
259
- declare interface MDXComponents {
204
+ export declare interface MDXComponents {
260
205
  h1?: default_2.ComponentType<any>;
261
206
  h2?: default_2.ComponentType<any>;
262
207
  h3?: default_2.ComponentType<any>;
@@ -294,6 +239,8 @@ export declare interface MdxExtracts {
294
239
  pivotTocItems?: Record<string, TocItem[]>;
295
240
  }
296
241
 
242
+ export declare function mdxJsxFlowElementHandler(state: State, node: Element_2): MdxJsxFlowElement;
243
+
297
244
  export declare function MDXRenderer({ children, components }: MDXRendererProps): JSX_2.Element;
298
245
 
299
246
  declare interface MDXRendererProps {
@@ -301,7 +248,7 @@ declare interface MDXRendererProps {
301
248
  components?: MDXComponents;
302
249
  }
303
250
 
304
- export declare function MobileNavTree({ isOpen, setIsOpen, navTree, activeId, className, theme, dropdown, activeHref, bottomLinks, LinkComponent, }: MobileNavTreeProps): JSX_2.Element;
251
+ export declare function MobileNavTree({ isOpen, setIsOpen, navTree, activeId, className, theme, activeHref, bottomLinks, LinkComponent, }: MobileNavTreeProps): JSX_2.Element;
305
252
 
306
253
  declare interface MobileNavTreeProps {
307
254
  isOpen: boolean;
@@ -310,7 +257,6 @@ declare interface MobileNavTreeProps {
310
257
  activeId?: string;
311
258
  className?: string;
312
259
  theme?: "light" | "dark" | "system";
313
- dropdown?: DropdownConfig;
314
260
  activeHref?: string;
315
261
  bottomLinks?: BottomLinkConfig[];
316
262
  LinkComponent?: LinkComponent;
@@ -324,9 +270,10 @@ export declare interface NavItem {
324
270
  icon?: default_2.ComponentType<{
325
271
  className?: string;
326
272
  }>;
273
+ method?: string;
327
274
  }
328
275
 
329
- export declare function NavTree({ navTree, activeId, className, dropdown, activeHref, theme, bottomLinks, }: NavTreeProps): JSX_2.Element | null;
276
+ export declare function NavTree({ navTree, activeId, className, activeHref, theme, bottomLinks, }: NavTreeProps): JSX_2.Element | null;
330
277
 
331
278
  export declare interface NavTreeData {
332
279
  items: NavItem[];
@@ -336,49 +283,27 @@ declare interface NavTreeProps {
336
283
  navTree: NavTreeData;
337
284
  activeId?: string;
338
285
  className?: string;
339
- dropdown?: DropdownConfig;
340
286
  activeHref?: string;
341
287
  theme?: "light" | "dark" | "system";
342
288
  bottomLinks?: BottomLinkConfig[];
343
289
  }
344
290
 
345
- export declare const PageContextMenu: ({ className, pathname, markdownContent, onCopyMarkdown, onCopyPage, onViewMarkdown, onViewLlmsTxt, onViewLlmsFullTxt, allPages, baseUrl, customActions, }: PageContextMenuProps) => JSX_2.Element;
346
-
347
- /**
348
- * Configuration for the page context menu
349
- */
350
- declare interface PageContextMenuConfig {
351
- /** Custom actions for the page context menu. If provided, these will replace the default actions. */
352
- customActions?: ContextualOption[];
353
- /** Callback fired after markdown is successfully copied */
354
- onCopyMarkdown?: () => void;
355
- /** Custom handler for "Copy Page" action. If provided, replaces default copy behavior. */
356
- onCopyPage?: () => void | Promise<void>;
357
- /** Custom handler for "View as Markdown" action. If provided, replaces default view behavior. */
358
- onViewMarkdown?: (pathname: string) => void;
359
- /** Custom handler for "View llms.txt" action. If provided, replaces default behavior. */
360
- onViewLlmsTxt?: () => void;
361
- /** Custom handler for "View llms-full.txt" action. If provided, replaces default behavior. */
362
- onViewLlmsFullTxt?: () => void;
363
- }
291
+ export declare const PageContextMenu: ({ className, pathname, markdownContent, onCopyMarkdown, onViewMarkdown, allPages, baseUrl, }: PageContextMenuProps) => JSX_2.Element;
364
292
 
365
293
  export declare interface PageContextMenuProps {
366
294
  className?: string;
367
295
  pathname: string;
368
296
  markdownContent?: string;
369
- /** Callback fired after markdown is successfully copied */
370
297
  onCopyMarkdown?: () => void;
371
- /** Custom handler for "Copy Page" action. If provided, replaces default copy behavior. */
372
- onCopyPage?: () => void | Promise<void>;
373
- /** Custom handler for "View as Markdown" action. If provided, replaces default view behavior. */
374
298
  onViewMarkdown?: (pathname: string) => void;
375
- /** Custom handler for "View llms.txt" action. If provided, replaces default behavior. */
376
- onViewLlmsTxt?: () => void;
377
- /** Custom handler for "View llms-full.txt" action. If provided, replaces default behavior. */
378
- onViewLlmsFullTxt?: () => void;
379
299
  allPages?: LlmsPageConfig[];
380
300
  baseUrl?: string;
381
- customActions?: ContextualOption[];
301
+ }
302
+
303
+ export declare function ParamName({ children }: ParamNameProps): JSX_2.Element;
304
+
305
+ declare interface ParamNameProps {
306
+ children: React.ReactNode;
382
307
  }
383
308
 
384
309
  export declare interface PayloadData {
@@ -403,14 +328,86 @@ export declare interface PlainTextPageProps {
403
328
  content: string;
404
329
  }
405
330
 
331
+ export declare const rehypeCallouts: Plugin_2<[], Node_3>;
332
+
333
+ export declare const rehypeCodeblocks: Plugin_2<[], Node_3>;
334
+
335
+ export declare const rehypeDetails: Plugin_2<[], Node_3>;
336
+
337
+ export declare const rehypeHeadingIds: Plugin_2<[], Node_3>;
338
+
339
+ export declare const rehypeParamName: Plugin_2<[], Node_3>;
340
+
341
+ export declare function rehypeRemark(): (tree: Root_2) => Root;
342
+
343
+ export declare function rehypeRemoveHtmlComments(): (root: Root_2) => void;
344
+
345
+ export declare const rehypeTabs: Plugin_2<[], Node_3>;
346
+
347
+ export declare const rehypeZonePivots: Plugin_2<[ConvertOptions?], Node_3>;
348
+
349
+ export declare function remarkHeadingIds(): (tree: Root) => void;
350
+
351
+ export declare function removeHtmlComments(root: Root_2): void;
352
+
353
+ export declare const sanitizePreTags: Plugin_2<[], Node_3>;
354
+
406
355
  export declare function serializeMdx(mdxString: string): Promise<default_2.ComponentType>;
407
356
 
357
+ export declare function Summary({ children, isOpen }: SummaryProps): JSX_2.Element;
358
+
359
+ declare interface SummaryProps {
360
+ children: default_2.ReactNode;
361
+ isOpen?: boolean;
362
+ }
363
+
364
+ export declare function Tab({ children }: TabProps): JSX_2.Element;
365
+
366
+ export declare const Table: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableElement> & React_2.RefAttributes<HTMLTableElement>>;
367
+
368
+ export declare const TableBody: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
369
+
370
+ export declare const TableCaption: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableCaptionElement> & React_2.RefAttributes<HTMLTableCaptionElement>>;
371
+
372
+ export declare const TableCell: React_2.ForwardRefExoticComponent<React_2.TdHTMLAttributes<HTMLTableCellElement> & React_2.RefAttributes<HTMLTableCellElement>>;
373
+
374
+ export declare const tableCellHandler: Handle;
375
+
376
+ export declare const TableFooter: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
377
+
378
+ export declare const tableHandler: Handle;
379
+
380
+ export declare const TableHead: React_2.ForwardRefExoticComponent<React_2.ThHTMLAttributes<HTMLTableCellElement> & React_2.RefAttributes<HTMLTableCellElement>>;
381
+
382
+ export declare const TableHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
383
+
408
384
  export declare function TableOfContents({ toc }: TableOfContentsProps): JSX_2.Element;
409
385
 
410
386
  declare interface TableOfContentsProps {
411
387
  toc: TocItem[];
412
388
  }
413
389
 
390
+ export declare const TableRow: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableRowElement> & React_2.RefAttributes<HTMLTableRowElement>>;
391
+
392
+ export declare const tableRowHandler: Handle;
393
+
394
+ declare interface TabProps {
395
+ title: string;
396
+ icon?: string;
397
+ children?: default_2.ReactNode;
398
+ }
399
+
400
+ export declare function Tabs({ children, defaultTab, defaultTabIndex, className, onClickTab, onChange }: TabsProps): JSX_2.Element;
401
+
402
+ declare interface TabsProps {
403
+ children: default_2.ReactNode;
404
+ defaultTab?: number;
405
+ defaultTabIndex?: number;
406
+ className?: string;
407
+ onClickTab?: (index: number) => void;
408
+ onChange?: (index: number) => void;
409
+ }
410
+
414
411
  export declare interface TocItem {
415
412
  title: string;
416
413
  slug: string;
@@ -418,10 +415,14 @@ export declare interface TocItem {
418
415
  children?: TocItem[];
419
416
  }
420
417
 
418
+ export declare function useApiReference(): ApiReferenceContextValue | undefined;
419
+
421
420
  export declare function useComponents(): ComponentsContextValue;
422
421
 
423
422
  export declare function useMarkdownCopy(pathname: string): void;
424
423
 
424
+ export declare function ZonePivot({ pivot, target, children }: ZonePivotProps): JSX_2.Element | null;
425
+
425
426
  export declare interface ZonePivotGroup {
426
427
  id: string;
427
428
  title: string;
@@ -432,6 +433,12 @@ export declare interface ZonePivotGroup {
432
433
  }>;
433
434
  }
434
435
 
436
+ declare interface ZonePivotProps {
437
+ pivot: string;
438
+ target?: string;
439
+ children: default_2.ReactNode;
440
+ }
441
+
435
442
  export declare function ZonePivotProvider({ groups, children, defaultPivots, }: ZonePivotProviderProps): JSX_2.Element;
436
443
 
437
444
  declare interface ZonePivotProviderProps {
@@ -447,4 +454,11 @@ declare interface ZonePivotSelectorProps {
447
454
  className?: string;
448
455
  }
449
456
 
457
+ export declare function ZoneTarget({ target, children }: ZoneTargetProps): JSX_2.Element;
458
+
459
+ declare interface ZoneTargetProps {
460
+ target: string;
461
+ children: default_2.ReactNode;
462
+ }
463
+
450
464
  export { }