import type { FactoryPayload } from '../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/lib' import type { EmotionSx } from '@mantine/emotion' import type { EmotionStyles } from '../emotion/index.cjs' import type { ShadingColor } from '../theme/colors.cjs' import type { Color } from '../theme/theme.cjs' declare module '../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/lib' { interface MantineThemeColorsOverride { colors: Record } interface StylesApiPropsOverride { styles?: EmotionStyles } interface BoxProps { sx?: EmotionSx } } declare module '@mantine/core' { interface MantineThemeColorsOverride { colors: Record } interface StylesApiPropsOverride { styles?: EmotionStyles } interface BoxProps { sx?: EmotionSx } } import { default as React } from 'react'; import { BoxProps, CodeProps } from '../../primitive/index.cjs'; import { PrismProps } from '../../primitive/Prism/index.cjs'; export interface CodeBlockProps extends BoxProps { children: PrismProps['children']; language?: PrismProps['language']; copyContent?: string; onCopyClick?: () => void; codeRender?: (content: string) => React.ReactNode; codeHighlightProps?: Omit; foldProps?: { defaultHeight?: number; persistenceKey?: string; iconVisible?: boolean; onIconClick?: (folded: boolean) => void; }; withBorder?: boolean; withCopyButton?: boolean; } export declare const CodeBlock: ({ language, codeRender, children, copyContent, onCopyClick, codeHighlightProps, foldProps, withBorder, withCopyButton, ...rest }: CodeBlockProps) => import("react/jsx-runtime.js").JSX.Element; export interface CopyTextProps extends CodeProps { value: string; } export declare const CopyText: ({ children, value, ...rest }: React.PropsWithChildren) => import("react/jsx-runtime.js").JSX.Element;