@comake/skl-js-engine
Version:
Standard Knowledge Language Javascript Engine
19 lines • 933 B
TypeScript
import type { Variable } from 'rdf-data-factory';
export declare type FindOperatorType = 'in' | 'not' | 'and' | 'equal' | 'exists' | 'gt' | 'gte' | 'lt' | 'lte' | 'inverse' | 'inverseRelation' | 'inverseRelationOrder' | 'sequencePath' | 'zeroOrMorePath' | 'inversePath' | 'oneOrMorePath' | 'contains' | 'sequence';
export interface FindOperatorArgs<T, TType> {
operator: TType;
value?: T | FindOperator<T, any>;
subject?: Variable;
isOptional?: boolean;
}
export declare class FindOperator<T, TType extends FindOperatorType> {
readonly type = "operator";
readonly operator: TType;
readonly subject?: Variable;
readonly value?: T | FindOperator<T, any>;
readonly isOptional?: boolean;
constructor(args: FindOperatorArgs<T, TType>);
static isFindOperator(value: any): boolean;
static isPathOperator(operator: FindOperator<any, any>): boolean;
}
//# sourceMappingURL=FindOperator.d.ts.map