import { IStorageProvider } from "./storage.interface"; import { Model } from "mongoose"; import { AtlassianScopeSource, Integration, IntegrationProvider } from "../types"; export declare class MongoDBStorage implements IStorageProvider { private model; constructor(model: Model); getConnection(id: string): Promise<(import("mongoose").FlattenMaps<{ integration_id: string; provider: IntegrationProvider; account_id: string; version: string; category: import("../types").IntegrationCategory; name: string; config: any; auth: { host_endpoint: string; api_token: string; refresh_token?: string | undefined; token_type: "long_lived" | "short_lived"; } | { host_endpoint: string; username: string; password: string; header_keys: { username: string; password: string; }; } | { host_endpoint: string; client_id: string; client_secret: string; } | { [x: string]: unknown; host_endpoint: string; profile_id?: string | undefined; api_key?: string | undefined; application_key?: string | undefined; }; temp_storage_path: string; cluster_id?: string | undefined; application_id?: string | undefined; is_addon?: boolean | undefined; created_by: string; dependencies: { targetResourceId: string; targetResourceType: string; direction: string; label: string[]; }[]; created_at?: Date | undefined; updated_at?: Date | undefined; }> & { _id: import("mongoose").Types.ObjectId; } & { __v: number; }) | null>; saveConnection(conn: Integration): Promise; updateConnection(id: string, updates: any): Promise; findAtlassianScopeSourcesByAccount(accountId: string): Promise; findSiblingAtlassianIntegrations(accountId: string, excludeIntegrationId?: string): Promise; }