@dash0hq/codemirror-promql
Version:
a CodeMirror mode for the PromQL language
15 lines (14 loc) • 339 B
TypeScript
export declare enum ValueType {
none = "none",
vector = "vector",
scalar = "scalar",
matrix = "matrix",
string = "string"
}
export interface PromQLFunction {
name: string;
argTypes: ValueType[];
variadic: number;
returnType: ValueType;
}
export declare function getFunction(id: number): PromQLFunction;