import type { SeamActionAttemptFailedError, SeamActionAttemptTimeoutError, SeamHttpApiError } from '@seamapi/http/connect'; import type { ActionAttempt, Device } from '@seamapi/types/connect'; import { type UseMutationResult } from '@tanstack/react-query'; export type UseToggleLockData = undefined; export type UseToggleLockMutationVariables = Pick & { properties: Required>; }; type ToggleLockActionAttempt = Extract | Extract; type MutationError = SeamHttpApiError | SeamActionAttemptFailedError | SeamActionAttemptTimeoutError; interface UseToggleLockParams { onError?: () => void; onSuccess?: () => void; } export declare function useToggleLock(params?: UseToggleLockParams): UseMutationResult; export {};