import type { Algebra } from '@comunica/utils-algebra'; /** * A content policies represents a function from graph pattern to matching variables. * The matching variables can then be used to indicate which URLs should be followed. * * Additionally, an optional filter can be defined to indicate what triples * inside the documents of the followed URLs should be considered. * This filter is represented as a construct query. */ export declare class ContentPolicy { readonly graphPattern: Algebra.Operation; readonly variables: IVariable[]; readonly filter?: Algebra.Construct; constructor(graphPattern: Algebra.Operation, variables: IVariable[], filter?: Algebra.Construct); } export interface IVariable { /** * A variable name, without '?'. */ name: string; /** * A boolean indicating if the content policies that are defined * in the range of followed documents should be considered. */ withPolicies: boolean; }