/// import * as RDF from 'rdf-js'; export interface LoginOptions { username?: string; password?: string; idp?: string; } export interface NotificationHandlerOptions { config?: string; username?: string; password?: string; idp?: string; cli?: boolean; verbose?: boolean; format?: string; watch?: boolean; auth?: any; } export interface ConfigFileOptions { username?: string; password?: string; idp?: string; sender?: string; popup?: string; verbose?: boolean; notify?: boolean; format?: string; } export interface Configuration { config?: string; username?: string; password?: string; idp?: string; sender?: string; popup?: string; cli?: boolean; verbose?: boolean; notify?: boolean; format?: string; watch?: boolean; auth?: any; } export interface Notification { "@context": any; "@type"?: string; subject?: any; object: any; target?: any; } export interface NotificationMetadata { context?: any; from: string[]; to: string[]; cc?: string[]; bcc?: string[]; contentType: string; contentTypeOutput: string; notification?: any; notification_template?: any; notification_mapping?: any; notification_file?: any; } export interface InboxNotification { id: string; quads: RDF.Quad[]; } export declare const streamToQuads: (stream: RDF.Stream) => Promise; export declare const quadsToString: (quads: RDF.Quad[], contentType?: string | undefined) => string; /** * Converts a WhatWG streams to Node streams if required. * Returns the input in case the stream already is a Node stream. * @param {ReadableStream} body * @returns {NodeJS.ReadableStream} */ export declare function toReadableStream(body: ReadableStream | null): NodeJS.ReadableStream; /** * Send system notifications for both node and browser * @param quads The notification quads * @param formattingFunction A formatting function to format the quads into a notification */ export declare function notifySystem(quads: RDF.Quad[], formattingFunction?: Function): Promise; //# sourceMappingURL=util.d.ts.map