import { type Adapter, type AdapterPayload } from 'oidc-provider';
export declare class InMemoryAdapter implements Adapter {
    private type;
    constructor(type: string);
    private tokenStorage;
    private sessionStorage;
    private grantIdStorage;
    private key;
    upsert(id: string, payload: AdapterPayload, expiresIn: number): Promise<void | undefined>;
    findByUserCode(userCode: string): Promise<void | AdapterPayload | undefined>;
    find(id: string): Promise<void | AdapterPayload | undefined>;
    findByUid(uid: string): Promise<void | AdapterPayload | undefined>;
    consume(id: string): Promise<void | undefined>;
    destroy(id: string): Promise<void | undefined>;
    revokeByGrantId(grantId: string): Promise<void | undefined>;
}
//# sourceMappingURL=in-memory-adapter.d.ts.map