import { type KeyPair } from './utils'; declare const TABLES: { readonly NONCE: "nonce"; readonly KEYPAIR: "keypair"; }; type Table = (typeof TABLES)[keyof typeof TABLES]; export declare class DpopStorage { protected readonly clientId: string; protected dbHandle: IDBDatabase | undefined; constructor(clientId: string); protected getVersion(): number; protected createDbHandle(): Promise; protected getDbHandle(): Promise; protected executeDbRequest(table: string, mode: IDBTransactionMode, requestFactory: (table: IDBObjectStore) => IDBRequest): Promise; protected buildKey(id?: string): string; setNonce(nonce: string, id?: string): Promise; setKeyPair(keyPair: KeyPair): Promise; protected save(table: Table, key: IDBValidKey, obj: unknown): Promise; findNonce(id?: string): Promise; findKeyPair(): Promise; protected find(table: Table, key: IDBValidKey): Promise; protected deleteBy(table: Table, predicate: (key: IDBValidKey) => boolean): Promise; protected deleteByClientId(table: Table, clientId: string): Promise; clearNonces(): Promise; clearKeyPairs(): Promise; } export {};