import { Session } from "@rubensworks/solid-client-authn-isomorphic";
/**
 * Looks up the storageDescription URL of a solid pod by looking for the `http://www.w3.org/ns/solid#storageDescription` Link value.
 *
 * @param url - the URL of the solid pod. (any resource in the pod is fine; all resources MUST advertise this Link header when the solid pod is a Resource Server. See 2.1 Discovery of the spec )
 */
export declare function lookupStorageDescription(url: string, session?: Session): Promise<string>;
/**
 * Fetches the subscription URL of a Resource Server by first fetching the solid:StorageDescription URL and then extracting the WebSocketChannel2023 from the body.
 * @param url - the Url of the solid pod.
 * @returns
 */
export declare function fetchSubscriptionUrl(url: string, type: string, session?: Session): Promise<string>;
