import React from 'react'; import { Chess } from 'chess.js'; import type { BoardState, BoardConfig } from './types'; import type { ImageSourcePropType } from 'react-native'; type BoardContextValue = { boardState: BoardState; chess: Chess; config: BoardConfig; }; export type BoardStateProviderProps = { children: React.ReactNode; fen?: string; boardSize?: number; gestureEnabled?: boolean; flipped?: boolean; withLetters?: boolean; withNumbers?: boolean; colors?: Partial; durations?: Partial; fontSource?: ImageSourcePropType; }; export declare const BoardStateProvider: React.FC; export declare const useBoardContext: () => BoardContextValue; export declare const useBoardConfig: () => BoardConfig; export declare const useChess: () => Chess; export declare const useBoardStateValues: () => BoardState; export {};