import { VariantProps } from 'class-variance-authority';
import { default as React } from 'react';
declare const codeEditorVariants: (props?: ({
    variant?: "primary" | "secondary" | "ghost" | "surface" | null | undefined;
    shape?: "full" | "minimal" | "sharp" | null | undefined;
    shadow?: "sm" | "md" | "lg" | "none" | null | undefined;
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
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">, VariantProps<typeof codeEditorVariants> {
    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[];
}
export declare const CodeEditor: React.ForwardRefExoticComponent<CodeEditorProps & React.RefAttributes<HTMLDivElement>>;
export {};
