import { RootState, WalletAdapter } from '../types'; import type { Action } from '../useReducer'; import GatekeeperClient, { GatekeeperRecordResponse } from '../utils/gatekeeperClient'; declare const useGatekeeper: ({ wallet, stage, gatekeeperClient, }: { wallet: WalletAdapter | undefined; stage: string; gatekeeperClient: GatekeeperClient | undefined; }, state: Partial, dispatch: React.Dispatch) => { waitForGatekeeperIssuanceRequest: (value: { proof?: string; payload?: unknown; }) => Promise; gatekeeperClient: GatekeeperClient | undefined; pollUntilNotRequested: (abortController?: AbortController) => Promise; }; export default useGatekeeper;