dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
5 lines (4 loc) • 432 B
TypeScript
import type { PrimitiveSchema } from '../../../schema/index.js';
import type { ParseAttrValueOptions } from './options.js';
import type { ParserReturn, ParserYield } from './parser.js';
export declare function primitiveSchemaParser<OPTIONS extends ParseAttrValueOptions = {}>(schema: PrimitiveSchema, inputValue: unknown, options?: OPTIONS): Generator<ParserYield<PrimitiveSchema, OPTIONS>, ParserReturn<PrimitiveSchema, OPTIONS>>;