@codama/renderers-js
Version:
JavaScript renderer compatible with the Solana Kit library
12 lines • 676 B
TypeScript
import { InstructionNode } from '@codama/nodes';
import { NodePath, ResolvedInstructionInput } from '@codama/visitors-core';
import { Fragment, RenderScope, TypeManifest } from '../utils';
export declare function getInstructionFunctionFragment(scope: Pick<RenderScope, 'asyncResolvers' | 'customInstructionData' | 'getImportFrom' | 'nameApi' | 'typeManifestVisitor'> & {
dataArgsManifest: TypeManifest;
extraArgsManifest: TypeManifest;
instructionPath: NodePath<InstructionNode>;
renamedArgs: Map<string, string>;
resolvedInputs: ResolvedInstructionInput[];
useAsync: boolean;
}): Fragment | undefined;
//# sourceMappingURL=instructionFunction.d.ts.map