UNPKG

dynamodb-toolbox

Version:

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

8 lines (7 loc) 485 B
import type { ScanCommandInput } from '@aws-sdk/lib-dynamodb'; import type { Entity } from '../../../../entity/index.js'; import type { Table } from '../../../../table/index.js'; import type { ScanOptions } from '../options.js'; type ScanParamsGetter = <TABLE extends Table, ENTITIES extends Entity[], OPTIONS extends ScanOptions<TABLE, ENTITIES>>(table: TABLE, entities?: ENTITIES, options?: OPTIONS) => ScanCommandInput; export declare const scanParams: ScanParamsGetter; export {};