import { ActivityType } from './models/activityType'; import { AdConfig } from '../../configuration/models/adConfig'; import { StorytellerAdRequestInfo } from '../../ads/adRequestInfo'; import UserActivityData, { UserActivityDataVppaCompliant } from './models/userActivityData'; export interface IStorytellerDelegate { onUserActivityOccurred?: (type: ActivityType, data: UserActivityData) => void; onShareButtonTapped?: (text: string, title: string, url: string) => Promise; getAdConfig?: (adRequestInfo: StorytellerAdRequestInfo) => AdConfig | null; userNavigatedToApp?: (url: string) => void; } declare class StorytellerDelegate implements IStorytellerDelegate { protected logTag: string; static sharedInstance: StorytellerDelegate; onUserActivityOccurred?: (type: ActivityType, data: UserActivityData | UserActivityDataVppaCompliant) => void; onShareButtonTapped?: (text: string, title: string, url: string) => Promise; getAdConfig?: (adRequestInfo: StorytellerAdRequestInfo) => AdConfig | null; userNavigatedToApp?: (url: string) => void; setDelegate(delegate: IStorytellerDelegate): void; getInstance(): IStorytellerDelegate; } declare const _default: StorytellerDelegate; export default _default;