import { SdkSettings, WriteKeySettings } from "../transport/plugins/plugin"; import { Sdk } from "./sdk"; import { SentryWrapper } from "../lib/sentry"; import { ConsentCategoryPreferences } from "../domain/consent"; export declare class Loader { private readonly sentryWrapper; private sdk; private user; private plugins; private sessionIntervalId; private stores; private cookiesStore; private sdkSettings; private writeKeySettings; private consentService; constructor(sentryWrapper: SentryWrapper); load(sdkConfig: SdkSettings, writeKeySettings: WriteKeySettings): Promise; private initSdk; private updatePluginSettings; private initStores; startNewSession(): void; private resetCampaignParams; updateConsent(categoryPreferences: ConsentCategoryPreferences): void; private createPlugin; private createSharedPluginDependencies; private initializePlugins; } export declare function isValidWriteKey(writeKey: string): boolean; export declare function getProductionWriteKey(writeKey: string): string;