import { EmitterSubscription } from 'react-native'; import { AdditionalConsentModeData, BannerSettings, CCPAData, GppData, GppSectionChangePayload, TCFData, TCFDecisionUILayer, TCFUserDecisionOnPurpose, TCFUserDecisionOnVendor, TCFUserDecisions, UsercentricsAnalyticsEventType, UsercentricsCMPData, UsercentricsConsentType, UsercentricsConsentUserResponse, UsercentricsOptions, UsercentricsReadyStatus, UsercentricsServiceConsent, UserDecision } from './models'; export declare const Usercentrics: { configure: (options: UsercentricsOptions) => void; status: () => Promise; showFirstLayer: (options?: BannerSettings) => Promise; showSecondLayer: (options?: BannerSettings) => Promise; restoreUserSession: (controllerId: string) => Promise; getControllerId: () => Promise; getABTestingVariant: () => Promise; getConsents: () => Promise>; getCMPData: () => Promise; getUserSessionData: () => Promise; getCCPAData: () => Promise; getGPPData: () => Promise; getGPPString: () => Promise; getTCFData: () => Promise; getAdditionalConsentModeData: () => Promise; getDpsMetadata: (templateId: string) => Promise | null>; changeLanguage: (language: string) => Promise; acceptAll: (consentType: UsercentricsConsentType) => Promise>; acceptAllForTCF: (fromLayer: TCFDecisionUILayer, consentType: UsercentricsConsentType) => Promise>; denyAll: (consentType: UsercentricsConsentType) => Promise>; denyAllForTCF: (fromLayer: TCFDecisionUILayer, consentType: UsercentricsConsentType, unsavedPurposeLIDecisions?: TCFUserDecisionOnPurpose[], unsavedVendorLIDecisions?: TCFUserDecisionOnVendor[]) => Promise>; saveDecisions: (decisions: UserDecision[], consentType: UsercentricsConsentType) => Promise>; saveDecisionsForTCF: (tcfDecisions: TCFUserDecisions, fromLayer: TCFDecisionUILayer, decisions: UserDecision[], consentType: UsercentricsConsentType) => Promise>; saveOptOutForCCPA: (isOptedOut: boolean, consentType: UsercentricsConsentType) => Promise>; setCMPId: (id: number) => void; setABTestingVariant: (variant: string) => void; setGPPConsent: (sectionName: string, fieldName: string, value: unknown) => Promise; track: (event: UsercentricsAnalyticsEventType) => Promise; clearUserSession: () => Promise; onGppSectionChange: (callback: (payload: GppSectionChangePayload) => void) => EmitterSubscription; };