import { QueryType, Relation } from './build'; export declare function closestPath(relations: Relation[], starts: Relation[], ends: string[], query?: QueryType): { cost: number; path: Relation[]; }; export declare function closestPathBFS(relations: Relation[], start: Relation, ends: string[], query?: QueryType): { cost: number; path: Relation[]; }; export declare function getNameCollection(name: number): undefined; export declare function getNameCollection(name: Record): undefined; export declare function getNameCollection(name: string): string; export declare function getNameRelative(prefix: string, name: Record, isPath: boolean): Record; export declare function getNameRelative(prefix: string, name: string | number, isPath: boolean): string; export declare function isComputed(field: string): boolean; export declare function isOperator(field: string): boolean; export declare function makeComputed(field: string): string; export declare function stripComputed(field: string): string;