UNPKG

dynamodb-toolbox

Version:

Lightweight and type-safe query builder for DynamoDB and TypeScript.

10 lines (9 loc) 601 B
import type { Schema } from '../../../schema/index.js'; import { SchemaAction } from '../../../schema/index.js'; import type { ZodFormatter, ZodFormatterOptions } from './formatter/index.js'; import type { ZodParser, ZodParserOptions } from './parser/index.js'; export declare class ZodSchemer<SCHEMA extends Schema = Schema> extends SchemaAction<SCHEMA> { static actionName: "zodSchemer"; formatter<OPTIONS extends ZodFormatterOptions = {}>(options?: OPTIONS): ZodFormatter<SCHEMA, OPTIONS>; parser<OPTIONS extends ZodParserOptions = {}>(options?: OPTIONS): ZodParser<SCHEMA, OPTIONS>; }