import { IdentifierNode } from '@neuledge/states-parser'; import { Either } from './either'; import { StatesContext } from './index'; import { CustomScalar, Scalar } from './scalar'; import { State } from './state'; import { Void } from './void'; export type Entity = NonNullableEntity | ((typeof Void)['name'] extends N ? typeof Void : never); export type NonNullableEntity = Either | State | (Scalar & { name: N; }) | CustomScalar; export declare const parseEntity: (ctx: StatesContext, node: IdentifierNode) => Entity; export declare const parseNonNullableEntity: (ctx: StatesContext, node: IdentifierNode) => NonNullableEntity; //# sourceMappingURL=entity.d.ts.map