import type { SafeAppProvider } from '@safe-global/safe-apps-provider'; import type SafeAppsSDK from '@safe-global/safe-apps-sdk'; import type { Opts } from '@safe-global/safe-apps-sdk'; import type { Actions } from '@web3-react/types'; import { Connector } from '@web3-react/types'; export declare class NoSafeContext extends Error { constructor(); } /** * @param options - Options to pass to `@safe-global/safe-apps-sdk`. */ export interface GnosisSafeConstructorArgs { actions: Actions; options?: Opts; } export declare class GnosisSafe extends Connector { /** {@inheritdoc Connector.provider} */ provider?: SafeAppProvider; private readonly options?; private eagerConnection?; /** * A `SafeAppsSDK` instance. */ sdk: SafeAppsSDK | undefined; constructor({ actions, options }: GnosisSafeConstructorArgs); /** * A function to determine whether or not this code is executing on a server. */ private get serverSide(); /** * A function to determine whether or not this code is executing in an iframe. */ private get inIframe(); private isomorphicInitialize; /** {@inheritdoc Connector.connectEagerly} */ connectEagerly(): Promise; activate(): Promise; }