///
import AccessService from "./helpers/access-service";
import DataService from "./helpers/data-service";
import { LbdService } from "./LbdService";
import { LbdDistribution } from './LbdDistribution';
import { Session as BrowserSession } from "@inrupt/solid-client-authn-browser";
import { Session as NodeSession } from "@inrupt/solid-client-authn-node";
export declare class LbdDataset {
fetch: any;
accessService: AccessService;
dataService: DataService;
lbdService: LbdService;
projectId: string;
url: string;
distributions: LbdDistribution[];
data: object[];
session: BrowserSession | NodeSession;
constructor(session: BrowserSession | NodeSession, url: string);
/**
*
* @returns boolean: this dataset exists or not
*/
checkExistence(): Promise;
/**
* @description Draw this dataset into your application (async)
*/
init(): Promise;
/**
* @description create this dataset within the active project
* @param options Optional - Object containing metadata about the dataset to be created. e.g: {[RDFS.label]: "theLabel"}
* @param makePublic initial access rights for the dataset (boolean)
*/
create(options?: object, makePublic?: boolean): Promise;
/**
* @description delete this dataset
* @returns void
*/
delete(): Promise;
/**
* @description Update the dataset with SPARQL (dangerous - watch out!)
* @param query The SPARQL query with which to update the dataset
*/
update(query: any): Promise;
/**
* @description create a distribution for this dataset
* @param distribution The file to upload as a dump of the dataset
* @param mimetype The mimetype of the distribution (if omitted it is guessed)
* @param options options (currently not implemented)
* @param distributionId the ID of the distribution - normally UUID, but can be overridden
* @param makePublic initial access rights for the dataset (boolean)
* @returns the distribution object
*/
addDistribution(distribution: File | Buffer, mimetype?: any, options?: object, distributionId?: string, makePublic?: boolean): Promise;
/**
* @description get an Array of distribution URLs of this dataset
* @returns an Array of distribution URLs
*/
getDistributions(): any[];
}
//# sourceMappingURL=LbdDataset.d.ts.map