import type { BlockInfo } from "@ledgerhq/coin-module-framework/api/index"; import type { NearContext } from "../config"; import type { NearBlockHeader } from "../network/sdk.types"; /** NEAR block timestamps are nanoseconds since the epoch. */ export declare const toBlockInfo: (header: NearBlockHeader) => BlockInfo; /** Block metadata at a given height, via the JSON-RPC `block` method. */ export declare function getBlockInfo(context: NearContext, height: number): Promise; //# sourceMappingURL=getBlockInfo.d.ts.map