UNPKG

@codama/renderers-rust

Version:
13 lines 610 B
import { RegisteredValueNode, ValueNode } from '@codama/nodes'; import { Visitor } from '@codama/visitors-core'; import { ImportMap } from './ImportMap'; import { GetImportFromFunction } from './utils'; export declare function renderValueNode(value: ValueNode, getImportFrom: GetImportFromFunction, useStr?: boolean): { imports: ImportMap; render: string; }; export declare function renderValueNodeVisitor(getImportFrom: GetImportFromFunction, useStr?: boolean): Visitor<{ imports: ImportMap; render: string; }, RegisteredValueNode['kind']>; //# sourceMappingURL=renderValueNodeVisitor.d.ts.map