declare function _exports({ ipld, preload }: { ipld: import('.').IPLD; preload: import('.').Preload; }): (ipfsPath: import("cids"), options?: (TreeOptions & import("../../utils").AbortOptions) | undefined) => AsyncIterable; export = _exports; export type TreeOptions = { /** * - If `ipfsPath` is a `CID`, you may pass a path here */ path?: string | undefined; preload?: boolean | undefined; }; export type TreeResult = { /** * - The last CID encountered during the traversal */ cid: CID; /** * - The path to the end of the IPFS path * inside the node referenced by the CID */ remainderPath: string; }; export type CID = import("cids"); export type AbortOptions = { /** * - A timeout in ms */ timeout?: number | undefined; /** * - Can be used to cancel any long running requests started as a result of this call */ signal?: AbortSignal | undefined; }; //# sourceMappingURL=tree.d.ts.map