import type * as RDF from '@rdfjs/types'; import type { Algebra } from '../index.js'; import type { AstIndir } from './core.js'; /** * Removes quad component of triple and ... */ export declare const removeAlgQuads: AstIndir<'removeQuads', Algebra.Operation, [Algebra.Operation]>; /** * Removes quad component of triples and wrap found bgps in Algebra.GraphOperations * Mainly returns same type as first arg */ export declare const removeAlgQuadsRecursive: AstIndir<'removeQuadsRecursive', unknown, [ unknown, (RDF.NamedNode | RDF.DefaultGraph)[] ]>; /** * Graphs should be an array of length identical to `op.patterns`, * containing the corresponding graph for each triple. * * returns Join if more than 1 pattern present, otherwise if only default graph present returns Bgp, otherwise Graph. */ export declare const splitAlgBgpToGraphs: AstIndir<'splitBgpToGraphs', Algebra.Join | Algebra.Graph | Algebra.Bgp, [ Algebra.Bgp, (RDF.NamedNode | RDF.DefaultGraph)[] ]>;