import { type ChannelEntry, type PublicKey } from '@hoprnet/hopr-utils'; import BN from 'bn.js'; export type Path = PublicKey[]; /** * Find a path through the payment channels. * * Depth first search through potential paths based on weight * * @returns path as Array (including start, but not including * destination */ export declare function findPath(start: PublicKey, destination: PublicKey, hops: number, networkQualityOf: (p: PublicKey) => number, getOpenChannelsFromPeer: (p: PublicKey) => Promise, weight?: (edge: ChannelEntry) => Promise): Promise; //# sourceMappingURL=index.d.ts.map