import { DatabaseDriver, DatabaseOption, Encrypted, Index, Records } from '../typings'; declare class DynamoDB implements DatabaseDriver { private options; private client; constructor(options: DatabaseOption); init(): Promise; _get(namespace: string, key: string): Promise; get(namespace: string, key: string): Promise; getAll(namespace: string, _?: number, pageLimit?: number, pageToken?: string): Promise; getByIndex(namespace: string, idx: Index, _?: number, __?: number, pageToken?: string): Promise; put(namespace: string, key: string, val: Encrypted, ttl?: number, ...indexes: any[]): Promise; delete(namespace: string, key: string): Promise; deleteMany(namespace: string, keys: string[]): Promise; close(): Promise; getStats(): Record; } declare const _default: { new: (options: { db: DatabaseOption; }) => Promise; }; export default _default;