import type { AttributeValue, DynamoDB } from '@aws-sdk/client-dynamodb'; /** * Execute some code and if a DynamoDB error occurs that is retryable, retry * the execution */ export declare function dynamoDBExecuteRetryable(code: () => Promise, id: string): ReturnType; type AttributeValueStringMap = { [key: string]: string; }; type AttributeValueMap = { [key: string]: AttributeValue; }; export declare function dynamoDBGetItem(dynamodb: DynamoDB, table: string, keys: AttributeValueStringMap, consistent?: boolean): Promise; export declare function dynamoDBPaginatedScan(dynamodb: DynamoDB, scanArgs: Parameters[0], code: (page: AttributeValueMap[]) => Promise, ordered?: boolean): Promise; export declare function getTableState(dynamodb: DynamoDB, table: string): Promise; export declare function waitForTableToBe(dynamodb: DynamoDB, table: string, state: string): Promise; export {};