import { UserID } from '@streamr/utils';
export interface PersistenceContext {
    get(key: string, namespace: string): Promise<string | undefined>;
    set(key: string, value: string, namespace: string): Promise<void>;
    close(): Promise<void>;
}
export interface PersistenceContextOptions {
    ownerId: UserID;
    namespaces: string[];
}
