import { SiweMessage, SiweResponse, VerifyOpts, VerifyParams } from 'siwe'; import { Event, providers } from 'ethers'; /** * Gets Gnosis delegation history events for an address. * @param address - User address. * @param provider - EthersJS provider. * @returns List of delegation blocks. */ export declare const getGnosisDelegationHistoryEventsFor: (address: string, provider: providers.Provider) => Promise>; /** * Gets delegators for an address. * @param address - User address. * @param provider - EthersJS provider. * @returns List of delegators for an address. */ export declare const gnosisDelegatorsFor: (address: string, provider: providers.Provider) => Promise>; /** * Verifies if address if delegate of delegator. * @param delegateAddress - Delegate address. * @param delegator - Delegator address. * @param provider - EthersJS provider. * @returns True (if is delegate) or false (on the contrary). */ export declare const addressIsDelegateOf: (delegateAddress: string, delegator: string, provider: providers.Provider) => Promise; /** * Giving a message, verifies if the address is a delegee. * @param params - Verify params. * @param opts - Verify Options. * @param message - SIWE Message. * @param _ * @returns JSON with information about the delegations. */ export declare const SiweGnosisVerify: (params: VerifyParams, opts: VerifyOpts, message: SiweMessage, _: any) => Promise; //# sourceMappingURL=gnosis-extension.d.ts.map