import { Resource } from "./types.js";
import { DistinctivePath } from "../path.js";
export declare const WNFS_PREFIX = "wnfs";
/**
 * Given a list of UCANs, generate a dictionary.
 * The key will be in the form of `${resourceKey}:${resourceValue}`
 */
export declare function compile(ucans: Array<string>): Record<string, string>;
/**
 * Creates the label for a given resource in the UCAN dictionary
 */
export declare function resourceLabel(rsc: Resource): string;
/**
 * Lookup the prefix for a filesystem key in the dictionary.
 */
export declare function filesystemPrefix(username: string): string;
/**
 * Look up a UCAN by label
 */
export declare function lookup(label: string): string | null;
/**
 * Look up a UCAN for a platform app.
 */
export declare function lookupAppUcan(domain: string): Promise<string | null>;
/**
 * Look up a UCAN with a file system path.
 */
export declare function lookupFilesystemUcan(path: DistinctivePath | "*"): Promise<string | null>;
