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 UseLockData = undefined; export type UseLockMutationVariables = Pick & { properties: Required>; }; type LockActionAttempt = Extract; type MutationError = SeamHttpApiError | SeamActionAttemptFailedError | SeamActionAttemptTimeoutError; interface UseLockParams { onError?: () => void; onSuccess?: () => void; } export declare function useLock(params?: UseLockParams): UseMutationResult; export {};