import { default as React } from 'react';
export interface CodeEditorAction {
    id: string;
    label: string;
    keybindings?: number[];
    contextMenuGroupId?: string;
    contextMenuOrder?: number;
    run: (editor: any, monaco: any) => void;
}
export interface CodeEditorProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
    value?: string;
    original?: string;
    language?: string;
    isDiff?: boolean;
    readOnly?: boolean;
    height?: string | number;
    fileName?: string;
    onChange?: (value: string | undefined) => void;
    options?: any;
    collapsible?: boolean;
    defaultCollapsed?: boolean;
    enableCopy?: boolean;
    toolbarSize?: "sm" | "md" | "lg";
    toolbarContent?: React.ReactNode;
    hideToolbar?: boolean;
    disableContextMenu?: boolean;
    customActions?: CodeEditorAction[];
    variant?: "primary" | "secondary" | "surface" | "ghost";
    shape?: "full" | "minimal" | "sharp";
    shadow?: "none" | "sm" | "md" | "lg";
}
export declare const CodeEditor: React.ForwardRefExoticComponent<CodeEditorProps & React.RefAttributes<HTMLDivElement>>;
