UNPKG

@tokens-studio/graph-engine

Version:

An execution engine to handle Token Studios generators and resolvers

25 lines 894 B
import { Color as ColorType } from '../../types.js'; import { INodeDefinition, ToInput, ToOutput } from '../../index.js'; import { Node } from '../../programmatic/node.js'; declare const HUE_METHODS: readonly ["shorter", "longer", "increasing", "decreasing", "raw"]; declare const PROGRESSION_TYPES: readonly ["linear", "quadratic", "cubic"]; export default class NodeDefinition extends Node { static title: string; static type: string; static description: string; inputs: ToInput<{ colorA: ColorType; colorB: ColorType; space: string; hue: (typeof HUE_METHODS)[number]; steps: number; progression: (typeof PROGRESSION_TYPES)[number]; }>; outputs: ToOutput<{ colors: ColorType[]; }>; constructor(props: INodeDefinition); execute(): void | Promise<void>; } export {}; //# sourceMappingURL=range.d.ts.map