import { BrowserTransportOptions } from '@bloks/browser-transport'; import { Link, LinkOptions, LinkSession, LinkStorage, LoginResult } from '@bloks/link'; import { ProtonWebLink } from './protonWeb'; declare type PartialBy = Omit & Partial>; export interface CustomStyleOptions { modalBackgroundColor?: string; logoBackgroundColor?: string; isLogoRound?: boolean; optionBackgroundColor?: string; optionFontColor?: string; primaryFontColor?: string; secondaryFontColor?: string; linkColor?: string; } interface ConnectWalletArgs { linkOptions: PartialBy & { endpoints: string[]; storage?: LinkStorage; storagePrefix?: string; restoreSession?: boolean; testUrl?: string; }; transportOptions?: BrowserTransportOptions; selectorOptions?: { appName?: string; appLogo?: string; walletType?: string; enabledWalletTypes?: string[]; customStyleOptions?: CustomStyleOptions; }; } interface ConnectWalletRet { session?: LinkSession; link?: ProtonWebLink | Link; loginResult?: LoginResult; error?: any; } export declare const ConnectWallet: ({ linkOptions, transportOptions, selectorOptions }: ConnectWalletArgs) => Promise; export {};