import Nano from 'nano'; import type { EnvironmentConfig } from '../types.js'; export declare function initializeCouchDB(config: EnvironmentConfig): void; export declare function getCouchDB(): Nano.ServerScope; export declare function getCouchURLWithProtocol(): string; export declare function useOrCreateCourseDB(courseID: string): Promise>; export declare function useOrCreateDB(dbName: string): Promise>; export declare function docCount(dbName: string): Promise; export interface SecurityObject extends Nano.MaybeDocument { admins: { names: string[]; roles: string[]; }; members: { names: string[]; roles: string[]; }; } //# sourceMappingURL=index.d.ts.map