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