import { type GrantPermissionsParameters, type GrantPermissionsReturnType } from 'viem/experimental'; import { type OpenfortError } from '../../errors/base.js'; import type { OpenfortHookOptions } from '../../types.js'; type GrantPermissionsRequest = { request: GrantPermissionsParameters; }; type GrantPermissionsResult = { address: `0x${string}`; } & GrantPermissionsReturnType; type GrantPermissionsHookResult = { error?: OpenfortError; } & Partial; type GrantPermissionsHookOptions = OpenfortHookOptions; export declare const useGrantPermissions: (hookOptions?: GrantPermissionsHookOptions) => { isLoading: boolean; isError: boolean; isSuccess: boolean; error: OpenfortError | null | undefined; grantPermissions: ({ request }: GrantPermissionsRequest, options?: GrantPermissionsHookOptions) => Promise; data: GrantPermissionsResult | null; reset: () => void; }; export {};