dynamodb-toolbox
Version:
Lightweight and type-safe query builder for DynamoDB and TypeScript.
5 lines (4 loc) • 457 B
TypeScript
import type { AnySchema } from '../../../schema/any/index.js';
import type { FormatterReturn, FormatterYield } from './formatter.js';
import type { FormatAttrValueOptions } from './options.js';
export declare function anySchemaFormatter(schema: AnySchema, rawValue: unknown, options?: FormatAttrValueOptions<AnySchema>): Generator<FormatterYield<AnySchema, FormatAttrValueOptions<AnySchema>>, FormatterReturn<AnySchema, FormatAttrValueOptions<AnySchema>>>;