UNPKG

@curvenote/cli

Version:
9 lines 481 B
import type { ALL_BLOCKS, BlockId } from '@curvenote/blocks'; import type { VersionQueryOpts } from '../../../models.js'; import { Block, Version } from '../../../models.js'; import type { ISession } from '../../../session/types.js'; export declare function getBlockAndLatestVersion<T extends ALL_BLOCKS>(session: ISession, blockId: BlockId, query?: VersionQueryOpts): Promise<{ block: Block; version?: Version<T>; }>; //# sourceMappingURL=getBlockAndLatestVersion.d.ts.map