import * as plugins from '../plugins.js'; import type { IStorageManager, IStorageListPageOptions, IStorageListPageResult } from '@push.rocks/smartmta'; export declare class SmartMtaStorageManager implements IStorageManager { private readonly collection; constructor(smartdataDb: plugins.smartdata.SmartdataDb); private validateDocument; get(key: string): Promise; set(key: string, value: string): Promise; list(prefix: string): Promise; /** * Bounded, deletion-stable page listing: seeks strictly beyond the last * returned key, so tokens stay valid while pages are deleted and an * otherwise stable prefix is always exhausted. */ listPage(prefix: string, options: IStorageListPageOptions): Promise; delete(key: string): Promise; }