import { TableStyle } from '../types';
/**
 * Get style from context
 * @param defaultStyle Default style
 * @param key Key of style
 * @returns Style from context
 */
export default function useTableStyles<Key extends keyof TableStyle>(defaultStyle: TableStyle[Key], key: Key): TableStyle[Key];
