import { DynamoDB } from 'aws-sdk'; /** * @function table * @description Returns data about the specified table, if it exists * * @param getTableData * @returns { DynamoDB.TableDescription } */ export declare const getTableData: (tableName: string) => Promise; /** * @async @function getItemsFromTable * @description Queries the specified table for items matching the provided query and returns them in an array * * @param { string } tableName * @param { object } query * @returns { any[] } */ export declare const getItemsFromTable: (tableName: string, query: any) => Promise; /** * @async @function getSingleItemFromTable * @description Queries the specified table for an item matching the provided query and returns it * * @param { string } tableName * @param { object } query * @returns { any } */ export declare const getSingleItemFromTable: (tableName: string, query: any) => Promise; /** * @async @function putItemstoTable * @description Writes an array of items to the specified table * * @param { string } tableName * @param { any[] } data * @returns { any } */ export declare const putItemstoTable: (tableName: string, data: any[]) => Promise; /** * @async @function deleteItemsFromTable * @description Searches the specified table for items matching the provided query, and deletes them * * @param { string } tableName * @param { any[] } query * @returns { any } */ export declare const deleteItemsFromTable: (tableName: string, query: any) => Promise;