import { MiniKitContextType } from '../types'; import { ReadyOptions } from '@farcaster/miniapp-sdk'; type SetMiniAppReady = (readyOptions?: Partial) => Promise; type UseMiniKitReturn = { /** The MiniKit context. */ context: MiniKitContextType['context']; /** A boolean indicating if the mini app has been set as ready. */ isMiniAppReady: boolean; /** A function to set the mini app as ready, which will hide the splash screen. */ setMiniAppReady: SetMiniAppReady; /** A function to update the client context. */ updateClientContext: MiniKitContextType['updateClientContext']; /** The notification proxy URL. */ notificationProxyUrl: MiniKitContextType['notificationProxyUrl']; /** @deprecated Use `setMiniAppReady` instead. This property will be removed in a future version. */ setFrameReady: SetMiniAppReady; /** @deprecated Use `isMiniAppReady` instead. This property will be removed in a future version. */ isFrameReady: boolean; }; /** * Allows for the use of the MiniKit context. * * @returns The MiniKitContext object. */ export declare const useMiniKit: () => UseMiniKitReturn; export {}; //# sourceMappingURL=useMiniKit.d.ts.map