export type ConfigurationParams = { callbackURL: URL; hostURL?: URL; hostPackageName?: string; }; export type Action = { method: string; params: any; optional?: boolean; }; export type Account = { chain: string; networkId: number; address: string; }; export type Result = { result: string | null; errorCode: number | null; errorMessage: string | null; }; export type ActionSource = { url: string; }