import { SxProps, Theme } from '@mui/material/styles';
import { ComponentSize } from '../types';
export interface KeyValueEditorProps {
    value: Record<string, string>;
    onChange: (kv: Record<string, string>) => void;
    addLabel?: string;
    readOnly?: boolean;
    validateKey?: (key: string) => string | undefined;
    validateValue?: (value: string) => string | undefined;
    size?: ComponentSize;
    sx?: SxProps<Theme>;
}
declare function KeyValueEditor({ value, onChange, addLabel, readOnly, validateKey, validateValue, size, sx, }: KeyValueEditorProps): import("react/jsx-runtime").JSX.Element;
declare namespace KeyValueEditor {
    var displayName: string;
}
export default KeyValueEditor;
