@tokens-studio/graph-engine
Version:
An execution engine to handle Token Studios generators and resolvers
38 lines • 1.02 kB
TypeScript
import { Color } from '../../types.js';
import { INodeDefinition, ToInput, ToOutput } from '../../index.js';
import { Node } from '../../programmatic/node.js';
export { ColorModifierTypes } from '@tokens-studio/types';
import { ColorSpace } from './lib/spaces.js';
export default class NodeDefinition extends Node {
static title: string;
static type: string;
static description: string;
inputs: ToInput<{
/**
* The color space to create the color in
*/
space: ColorSpace;
/**
* The first channel value
*/
a: number;
/**
* The second channel value
*/
b: number;
/**
* The third channel value
*/
c: number;
/**
* The fourth channel value
*/
alpha?: number;
}>;
outputs: ToOutput<{
value: Color;
}>;
constructor(props: INodeDefinition);
execute(): void | Promise<void>;
}
//# sourceMappingURL=create.d.ts.map