/** * Copyright (c) 2018-2023, BOTLabs GmbH. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. */ import type { IDelegationHierarchyDetails, IDelegationNode } from '@kiltprotocol/types'; /** * Fetch a delegation hierarchy node from the blockchain given its identifier. * * @param rootId The root delegation node ID to fetch. * @returns The retrieved [[IDelegationHierarchyDetails]]. */ export declare function fetch(rootId: IDelegationNode['id']): Promise;