import * as react from 'react'; import { FC, ReactNode, ReactElement, PropsWithChildren, HTMLProps, ComponentProps } from 'react'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { LinkProps } from 'next/link'; import { ImageProps } from 'next/image'; import { themes } from 'prism-react-renderer'; import { S as SearchResult } from './types.d-JvOeMJRs.js'; export { N as Navbar } from './types.d-JvOeMJRs.js'; import { UncontrolledProps } from 'react-medium-image-zoom'; export { default as toast } from 'react-hot-toast'; import 'nextra/normalize-pages'; import 'nextra/types'; declare const Accordion: FC<{ arrowIcon?: ({ className }: { className?: string; }) => ReactNode; children: ReactNode; classes?: { button?: string; content?: string; }; defaultOpen?: boolean; styleType?: "flushed" | "rounded"; title: string; }>; declare const AccordionGroup: FC<{ children: ReactNode; styleType?: "flushed" | "rounded"; }>; declare const Anchor: react.ForwardRefExoticComponent, HTMLAnchorElement>, "ref"> & { newWindow?: boolean | undefined; } & react.RefAttributes>; declare const Bleed: ({ children, className, full }: { children: ReactNode; className?: string; full: boolean; }) => ReactElement; declare const icons: { check: react_jsx_runtime.JSX.Element; default: react_jsx_runtime.JSX.Element; error: react_jsx_runtime.JSX.Element; info: react_jsx_runtime.JSX.Element; tip: react_jsx_runtime.JSX.Element; warning: react_jsx_runtime.JSX.Element; }; type CalloutType = keyof typeof icons; interface CalloutProperties { children: ReactNode; icon?: ReactElement | string; type?: CalloutType; } declare const Callout: ({ children, icon, type }: CalloutProperties) => ReactElement; interface CardBaseProperties { classes?: { content?: string; iconWrapper?: string; main?: string; title?: string; }; href: never; icon?: ReactNode; title: string; } type CardLinkProperties = LinkProps & Omit & { href: string; }; type Properties = CardBaseProperties | CardLinkProperties; declare const Card: FC>; declare const CardGroup: FC & { cols?: number; style: HTMLProps["style"] & { "--rows"?: string; }; }>>; declare const Code: ({ children, className, ...properties }: ComponentProps<"code">) => ReactElement; declare const Collapse: FC>; interface FolderProperties { children: ReactNode; defaultOpen?: boolean; label?: ReactElement; name: string; onToggle?: (open: boolean) => void; open?: boolean; } interface FileProperties { active?: boolean; label?: ReactElement; name: string; } declare const FileTree: FC<{ children?: ReactNode; }> & { File: FC; Folder: FC; }; declare const ImageFrame: FC; declare const Installation: FC<{ commands: string[]; packageName: string; title?: string; }>; declare const LiveEditor: ({ children, code, filename, hasCopyCode, language, modules, noInline, theme, }: ComponentProps<"pre"> & { children?: ReactElement; code?: string; filename?: string; hasCopyCode?: boolean; language?: string; modules?: Record; noInline?: boolean; theme?: (typeof themes)[keyof typeof themes]; }) => ReactElement; interface LocaleSwitchProperties { className?: string; lite?: boolean; } declare const LocaleSwitch: FC; declare const NotFoundPage: () => ReactElement | null; declare const Pre: ({ children, classNames, filename, hasCopyCode, header, ...properties }: Exclude & { classNames?: { pre?: string; root?: string; }; filename?: string; hasCopyCode?: boolean; header?: ReactElement; }, "className">) => ReactElement; declare const Prose: FC>; declare const Sandbox: FC<{ branch?: string; dir?: string; file: string; minHeight?: string; repo?: string; src?: string; }>; interface SearchProperties { className?: string; error?: boolean; loading?: boolean; onActive?: (active: boolean) => Promise; onChange: (newValue: string) => Promise; overlayClassName?: string; results: SearchResult[]; value: string; } declare const Search: FC; declare const ServerSideErrorPage: () => ReactElement | null; declare const SkipNavLink: react.ForwardRefExoticComponent, HTMLAnchorElement>, "children" | "ref" | "href"> & { label?: string | undefined; } & react.RefAttributes>; declare const StepContainer: FC>; declare const Table: ({ className, ...properties }: ComponentProps<"table">) => ReactElement; type TabProperties = ComponentProps<"div"> & { disabled?: boolean; title: ReactElement | string; }; declare const Tab: FC; declare const Tabs: ({ children, classes, defaultIndex, disableScrollBar, onChange, prefix, selectedIndex: _selectedIndex, storageKey, }: { children: ReactNode | ReactNode[]; classes?: { tab?: string; tabs?: string; }; defaultIndex?: number; disableScrollBar?: boolean; onChange?: (index: number) => void; prefix?: string; selectedIndex?: number; storageKey?: string; }) => ReactElement; declare const Td: ({ className, ...properties }: ComponentProps<"td">) => ReactElement; declare const Th: (properties: ComponentProps<"th">) => ReactElement; declare const ThemeSwitch: FC<{ className?: string; lite?: boolean; locale: string; }>; declare const Tooltip: FC>; declare const Tr: (properties: ComponentProps<"tr">) => ReactElement; declare const Ul: ({ className, ...properties }: ComponentProps<"ul">) => ReactElement; declare const ZoomWrapper: FC; export { Accordion, AccordionGroup, Anchor, Bleed, Callout, Card, CardGroup, Code, Collapse, FileTree, ImageFrame, Installation, LiveEditor, LocaleSwitch as LocalSwitch, NotFoundPage, Pre, Prose, Sandbox, Search, ServerSideErrorPage, SkipNavLink, StepContainer as Steps, Tab, Table, Tabs, Td, Th, ThemeSwitch, Tooltip, Tr, Ul, ZoomWrapper as Zoom };