@dash0hq/codemirror-promql
Version:
a CodeMirror mode for the PromQL language
51 lines (50 loc) • 1.07 kB
TypeScript
import { Completion } from '@codemirror/autocomplete';
export declare const durationTerms: {
label: string;
}[];
export declare const matchOpTerms: {
label: string;
}[];
export declare const binOpTerms: {
label: string;
}[];
export declare const binOpModifierTerms: {
label: string;
info: string;
type: string;
}[];
export declare const atModifierTerms: {
label: string;
info: string;
type: string;
}[];
export declare const functionIdentifierTerms: ({
label: string;
detail: string;
info: string;
type: string;
boost?: undefined;
} | {
label: string;
detail: string;
info: string;
type: string;
boost: number;
})[];
export declare const aggregateOpTerms: {
label: string;
detail: string;
info: string;
type: string;
}[];
export declare const aggregateOpModifierTerms: {
label: string;
info: string;
type: string;
}[];
export declare const numberTerms: {
label: string;
info: string;
type: string;
}[];
export declare const snippets: readonly Completion[];