import { ComponentProps } from 'react'; interface CodeBlockCommonProps { hideLineNumbers?: boolean; value?: string; maxLines?: number; collapsed?: boolean; } interface CodeBlockContextValue extends CodeBlockCommonProps { setValue: (value: string) => void; code?: string; setCode: (code: string) => void; toggleCollapsed: () => void; } export declare const useCodeBlockContext: () => CodeBlockContextValue; export interface CodeBlockProps extends ComponentProps<'div'>, CodeBlockCommonProps { defaultValue?: string; maxHeight?: string | number; onValueChange?: (value: string) => void; defaultCollapsed?: boolean; onCollapseChange?: (value: boolean) => void; } export declare const CodeBlockRoot: { ({ children, value: providedValue, onValueChange, defaultValue, hideLineNumbers, maxLines, maxHeight, className, collapsed: providedCollapsed, defaultCollapsed, onCollapseChange, ...props }: CodeBlockProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export {}; //# sourceMappingURL=code-block-root.d.ts.map