@hashbrownai/core
Version:
Runtime helpers for Hashbrown AI
15 lines • 541 B
TypeScript
import { ArrayType, HashbrownType, ObjectType, StringType } from './base';
import { CleanInterfaceShape } from '../utils/types';
/**
* @public
*/
export declare function string(description: string): StringType;
/**
* @public
*/
export declare function object<Shape extends Record<string, any>>(description: string, shape: Shape): ObjectType<CleanInterfaceShape<Shape>>;
/**
* @public
*/
export declare function array<Item extends HashbrownType>(description: string, item: Item): ArrayType<Item>;
//# sourceMappingURL=streaming.d.ts.map