/** * The type vocabulary every `velar/*` table in `modules/` is written in. * * D115 §三, the shape `packages/core/src/interfaces/types.ts` already has: the * primitive `ValueType` singletons, the constructors a Node export is built * with, and the `ModuleInterface` constructor that fills in the fields a Node * module never uses. What one surface alone owns lives in that surface's file. */ import type { ClassInfo, EnumInfo, ModuleInterface, ValueType } from "@velarscript/compiler"; export declare const unknownType: ValueType; export declare const nullType: ValueType; export declare const stringType: ValueType; export declare const numberType: ValueType; export declare const boolType: ValueType; export declare const bytesType: ValueType; export declare const cancellationType: ValueType; export declare const listStringType: ValueType; export declare const stringMapType: ValueType; export declare function promise(value: ValueType): ValueType; export declare function functionType(parameterNames: readonly string[], parameters: readonly ValueType[], result: ValueType, requiredParameters?: number): ValueType; export declare function namedIntrinsic(name: string, parameterNames: readonly string[], parameters: readonly ValueType[], result: ValueType, requiredParameters?: number): ValueType; /** A structurally declared standard capability handle; see ValueType.capabilityHandle. */ export declare function capabilityHandle(fields: Readonly>): ValueType; export declare function object(fields: Readonly>, optionalFields?: readonly string[], readonlyFields?: readonly string[]): ValueType; export declare function moduleInterface(exports: ReadonlyMap, namedTypes?: ReadonlyMap>, namedTypeIdentities?: ReadonlyMap, typeAliases?: ReadonlyMap, classes?: ReadonlyMap, enums?: ReadonlyMap, namedTypeReadonlyFields?: ReadonlyMap>): ModuleInterface; //# sourceMappingURL=types.d.ts.map