UNPKG

@dialog-db/query

Version:

Datalog query engine inspired by Datomic

76 lines 2.68 kB
declare const _default: { '!': (of: boolean) => boolean[]; '==': (operand: import("../api.js").Scalar) => import("../api.js").Scalar[]; '>': <T extends number | string>(operands: { this: T; than: T; }) => {}[]; '<': <T extends number | string>(operands: { this: T; than: T; }) => {}[]; '>=': <T extends number | string>(operands: { this: T; than: T; }) => {}[]; '<=': <T extends number | string>(operands: { this: T; than: T; }) => {}[]; 'data/type': (of: import("../api.js").Scalar) => import("../api.js").TypeName[]; 'data/refer': <T extends Record<string, import("../api.js").Scalar>>(data: T) => import("../api.js").Link<T, 113, 30>[]; 'text/like': ({ text, pattern }: { text: string; pattern: string; }) => string[]; 'text/concat': ({ of, with: suffix }: { of: string; with: string; }) => string[]; 'text/words': (of: string) => string[]; 'text/lines': (of: string) => string[]; 'text/case/upper': (of: string) => string[]; 'text/case/lower': (of: string) => string[]; 'text/trim': (of: string) => string[]; 'text/trim/start': (of: string) => string[]; 'text/trim/end': (of: string) => string[]; 'text/includes': ({ this: text, slice }: { this: string; slice: string; }) => true[]; 'text/slice': ({ of, start, end }: { of: string; start: string; end: string; }) => string[]; 'text/length': (value: string) => number[]; 'text/to/utf8': (text: string) => Iterable<Uint8Array>; 'utf8/to/text': (value: Uint8Array) => Iterable<string>; '+': ({ of, with: by }: { of: import("../api.js").Numeric; with: import("../api.js").Numeric; }) => import("../api.js").Numeric[]; '-': ({ of, by }: { of: import("../api.js").Numeric; by: import("../api.js").Numeric; }) => import("../api.js").Numeric[]; '*': ({ of, by }: { of: import("../api.js").Numeric; by: import("../api.js").Numeric; }) => import("../api.js").Numeric[]; '/': ({ of, by }: { of: import("../api.js").Numeric; by: import("../api.js").Numeric; }) => import("../api.js").Numeric[]; '%': ({ of, by }: { of: import("../api.js").Numeric; by: import("../api.js").Numeric; }) => import("../api.js").Numeric[]; '**': ({ of, by: exponent }: { of: import("../api.js").Numeric; by: import("../api.js").Numeric; }) => number[]; 'math/absolute': (of: number) => number[]; }; export default _default; //# sourceMappingURL=lib.d.ts.map