import { type LanguageSupport } from "@codemirror/language";
import type { Extension } from "@uiw/react-codemirror";
type Dialect = {
    spec: {
        keywords?: string;
    };
    dialect?: {
        words?: Record<string, any>;
    };
};
type Source = {
    language: LanguageSupport;
    dialect?: Dialect;
    keywords?: {
        words: string[];
        caseSensitive?: boolean;
    };
    indentation: Extension[];
};
export declare function source(engine?: string | null): Source;
type LanguageOptions = {
    engine?: string | null;
};
export declare function language({ engine }: LanguageOptions): (LanguageSupport | Extension[])[];
export {};
