import type { Fn, IObjectOf } from "@thi.ng/api"; import type { ISubscription } from "@thi.ng/rstream"; export type Pattern = [any, any, any]; export type PathPattern = [any, any[], any]; export type Triple = Pattern; export type Triples = Set; export type TripleIds = Set; export type Solution = IObjectOf; export type Solutions = Set; export type QuerySolution = ISubscription; export type BindFn = Fn; export interface Edit { index: Set; key: any; } export interface QuerySpec { q: SubQuerySpec[]; select?: string[]; order?: string; bind?: IObjectOf; limit?: number; } export type SubQuerySpec = WhereQuerySpec | PathQuerySpec; export interface WhereQuerySpec { where: Pattern[]; } export interface PathQuerySpec { path: PathPattern; } export interface JoinOpts { limit: number; select: string[]; } //# sourceMappingURL=api.d.ts.map