import { EditorProps as MonacoEditorProps } from '@monaco-editor/react'; import { Language } from '../../constants/language'; import { Action, Tab } from './types'; type EditorProps = Pick & { readOnly?: boolean; language?: Language; }; type Props = { title: string; className?: string; tabs?: Tab[]; selectedTabIdx?: number; onTabClick?: (idx: number) => void; actions?: Action[]; onActionClick?: (action: string) => void; errors?: boolean; editorProps?: EditorProps; loading?: boolean; }; declare const MemoizedSnippet: import("react").MemoExoticComponent<({ title, className, tabs, selectedTabIdx, onTabClick, actions: _actions, onActionClick, errors, editorProps, loading, }: Props) => JSX.Element>; export { MemoizedSnippet as Snippet };