import { IndexInterface, KeyCursorInterface, ObjectStoreInterface } from '../component/interface/components.interface.js'; export declare class KeyCursor implements KeyCursorInterface { private readonly ctx; protected _cursor: IDBCursor | null; protected _cursorPromise: Promise; constructor(ctx: { request: IDBRequest; direction: IDBCursorDirection; source: ObjectStoreInterface | IndexInterface; }); get request(): IDBRequest; get key(): K; get primaryKey(): PK | undefined; get direction(): IDBCursorDirection; get source(): ObjectStoreInterface | IndexInterface; end(): Promise; continue(key?: K | PK): void; advance(count: number): void; continuePrimaryKey(key: K, primaryKey: PK): void; private stepUp; }