import { FunctionComponent } from 'react';
import { Client } from '../../../../shared-logic/src/VizzlyConfig/types';
declare type SQLDialect = Client;
export declare type CodeEditorKeyword = {
    label: string;
    type: 'keyword' | 'variable' | 'text';
    info?: string;
};
export declare type SQLLang = {
    sql: SQLDialect;
    keywords?: CodeEditorKeyword[];
    sqlSchema?: {
        [table: string]: Array<string | {
            label: string;
            displayLabel: string;
        }>;
    };
};
export declare type Lang = SQLLang | {
    type: 'json';
    keywords?: CodeEditorKeyword[];
};
export declare const CodeEditor: FunctionComponent<{
    size?: 'xl';
    lang: Lang;
    onChange: (value: string) => void;
    value?: string;
    height?: string;
}>;
export {};
