import type { Square } from 'chess.js'; import React from 'react'; import type Animated from 'react-native-reanimated'; import type { ChessboardRef } from '../board-refs-context'; declare type BoardOperationsContextType = { selectableSquares: Animated.SharedValue; onMove: (from: Square, to: Square) => void; onSelectPiece: (square: Square) => void; moveTo: (to: Square) => void; isPromoting: (from: Square, to: Square) => boolean; selectedSquare: Animated.SharedValue; turn: Animated.SharedValue<'w' | 'b'>; }; declare const BoardOperationsContext: React.Context; export declare type BoardOperationsRef = { reset: () => void; }; declare const BoardOperationsContextProvider: React.MemoExoticComponent>>; export { BoardOperationsContextProvider, BoardOperationsContext };