import { ObjectId } from "mongodb"; import { AppRepoStructureInterface } from "../Interfaces/AppRepoStructure"; import { ClientRepoStructure } from "../Interfaces/ClinetRepoStructure"; import { BaseRepository } from "./BaseRepository"; export interface Credential { api_key: string; api_secret: string; } export declare class ClientRepository extends BaseRepository { name: string; getClientFrom(app: AppRepoStructureInterface): Promise; getClientFromCredential(app: AppRepoStructureInterface, { api_key, api_secret }: Credential): Promise; createClient(client: { name: string; appId?: string | ObjectId; }): Promise; private generateRandomKey; }