export interface Translations { [key: string]: string; } export interface DateTimeFormat { parentLocale: string; longDateFormat: { LT: string; L: string; LL: string; }; week: { dow: number; }; } export interface Locale { dateTimeFormat: DateTimeFormat; translations: Translations; } export declare type VideoRenderingError = { error_code: number; error_description: string; error_message: string; }; export interface ApiError { name: string; message: string; httpCode: number; } export interface Error { message: string; code: number; } export interface AppWindow extends Window { updateWorker?: ServiceWorkerRegistration; callParent: Function; FB: { init: Function; XFBML: { parse: Function; }; Event: { subscribe: Function; unsubscribe: Function; }; }; fbAsyncInit: Function; Intercom: Function; dataLayer: Array; Cypress: Function; mixpanel: { get_property: Function; }; Paddle: any; } declare type ShareData = { title?: string; text?: string; url?: string; files?: File[]; }; export interface AppNavigator { share?: (data?: ShareData) => Promise; canShare?: (data?: ShareData) => boolean; } export {};