import type { LiveStore, NamedNode } from 'rdflib'; import type { DirectoryEntry, DirectoryRelationshipLabel, DirectorySource } from '../types'; export declare function tokenizeQuery(query: string): string[]; export declare function matchesQuery(label: string, query: string): boolean; export declare function matchesAnyLabel(labels: string[], query: string): boolean; export declare function sortEntries(entries: Iterable): DirectoryEntry[]; export declare function mergeDirectoryEntry(discoveredEntries: Map, entry: DirectoryEntry): DirectoryEntry; export declare function canonicalizeDirectorySources(sources: DirectorySource[]): DirectorySource[]; export declare function bestRelationshipLabel(current: DirectoryRelationshipLabel | undefined, incoming: DirectoryRelationshipLabel): DirectoryRelationshipLabel; export declare function directoryEntryKey(entry: DirectoryEntry): string; export declare function uniqueNamedNodes(nodes: NamedNode[]): NamedNode[]; export declare function uniqueStrings(values: T[]): T[]; export declare function isHttpUri(value: string | null | undefined): boolean; export declare function fallbackLabel(uri: string): string; export declare function storedLabelForNode(store: LiveStore, node: NamedNode): string | null; export declare function labelForNode(store: LiveStore, node: NamedNode): string; export declare function loadDocumentSilently(store: LiveStore, node: NamedNode): Promise; //# sourceMappingURL=directoryHelpers.d.ts.map