import { IndexInterface, KeyCursorInterface, ObjectStoreInterface, TransactionInterface, ValueCursorInterface } from '../component/interface/components.interface.js'; export declare class ObjectStore implements ObjectStoreInterface { private readonly ctx; constructor(ctx: { objectStore: IDBObjectStore; }); add(value: V, key?: K): Promise; clear(): Promise; count(query?: IDBKeyRange | K): Promise; createIndex(indexName: string, keyPath: string | string[], options?: IDBIndexParameters): IndexInterface; delete(query: IDBKeyRange | K): Promise; deleteIndex(name: string): void; get(key: K): Promise; getAll(query?: IDBKeyRange | K, count?: number): Promise; getAllKeys(query?: IDBKeyRange | K, count?: number): Promise; getKey(key: IDBKeyRange | K): Promise; index(name: string): IndexInterface; openCursor(query?: IDBKeyRange | K, direction?: IDBCursorDirection): ValueCursorInterface; openKeyCursor(query?: IDBKeyRange | K, direction?: IDBCursorDirection): KeyCursorInterface; put(value: V, key?: K): Promise; get indexNames(): string[]; get autoIncrement(): boolean; get keyPath(): string | string[]; get name(): string; get transaction(): TransactionInterface; }