import { Store, Quad, NamedNode, Prefixes } from 'n3';
import { ClassInstanceProvider } from './plugin';
export declare const rdfCache: Record<string, Promise<Quad[]>>;
export declare const prefixes: Prefixes;
export interface LoaderAttributes {
    loadOwlImports: boolean;
    proxy?: string | null;
    shapes?: string | null;
    shapesUrl?: string | null;
    values?: string | null;
    valuesUrl?: string | null;
    valuesSubject?: string | null;
    classInstanceProvider?: ClassInstanceProvider;
}
export interface LoaderContext {
    store: Store;
    importedUrls: string[];
    atts: LoaderAttributes;
}
export declare function findConformsToValuesSubject(store: Store): string | undefined;
export declare function findConformsToShapeSubject(store: Store, valuesSubject: string): NamedNode | undefined;
export declare function loadGraphs(atts: LoaderAttributes): Promise<Store<import("@rdfjs/types").Quad, Quad, import("@rdfjs/types").Quad, import("@rdfjs/types").Quad>>;
export declare function importRDF(rdf: Promise<Quad[]>, ctx: LoaderContext, graph: NamedNode): Promise<void>;
export declare function fetchRDF(url: string, proxy: string | null | undefined): Promise<Quad[]>;
export declare function parseRDF(rdf: string): Promise<Quad[]>;
