import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb"; import { AttributeMap, B, L, M, N, NB, NativeBinaryAttribute, S, ToAttributeMap } from "./attribute-value.js"; import { StringEncoded } from "../../codec-string/index.js"; export declare const marshall: (item: Item, options?: MarshallOptions) => ToAttributeMap; export declare const unmarshall: (item: Item, options?: UnmarshallOptions) => { [property in keyof Item]: Unmarshall; }; export interface NumberValue { value: `${N}`; } export type Unmarshall = T extends S ? s : T extends B ? NativeBinaryAttribute : T extends NB ? Exclude["wrapNumbers"] extends true ? { value: StringEncoded; } : never : T extends N ? Exclude["wrapNumbers"] extends true ? { value: StringEncoded; } : n : T extends Date ? string : T extends L ? { [index in keyof Items]: index extends "length" ? Items[index] : Unmarshall; } : T extends M ? { [property in keyof Attributes]: Unmarshall; } : never;