import { IDKitConfig, VerificationState, ISuccessResult, AppErrorCodes } from '@worldcoin/idkit-core'; import { Config } from '@worldcoin/idkit'; type SessionStatus = { state: VerificationState; result: ISuccessResult | null; errorCode: AppErrorCodes | null; sessionURI: string | null; }; declare const IDKitSession: { create: (config: IDKitConfig) => Promise; pollStatus: () => Promise; getURI: () => string | null; destroy: () => void; readonly isActive: boolean; }; declare const IDKit: { init: (config: Config) => void; update: (config: Config) => void; open: () => Promise; close: () => Promise; reset: () => void; readonly isInitialized: boolean; }; declare global { interface Window { IDKit: typeof IDKit; IDKitSession: typeof IDKitSession; } }