import type { CollectionConfig } from '../../index.js'; import type { Payload } from '../../types/index.js'; import type { KVAdapter, KVAdapterResult, KVStoreValue } from '../index.js'; export declare class DatabaseKVAdapter implements KVAdapter { readonly payload: Payload; readonly collectionSlug: string; constructor(payload: Payload, collectionSlug: string); clear(): Promise; delete(key: string): Promise; get(key: string): Promise; has(key: string): Promise; keys(): Promise; set(key: string, data: KVStoreValue): Promise; } export type DatabaseKVAdapterOptions = { /** Override options for the generated collection */ kvCollectionOverrides?: Partial; }; export declare const databaseKVAdapter: (options?: DatabaseKVAdapterOptions) => KVAdapterResult; //# sourceMappingURL=DatabaseKVAdapter.d.ts.map