from typing import Tuple
from numpy import ndarray
from typing import Union


def grab_test_image(key: str = 'astro',
                    space: str = 'rgb',
                    dsize: Tuple[int, int] = None,
                    interpolation: str = ...) -> ndarray:
    ...


def grab_test_image_fpath(key: str = 'astro') -> str:
    ...


def checkerboard(num_squares: Union[int, str] = 'auto',
                 square_shape: Union[int, Tuple[int, int], str] = 'auto',
                 dsize: Tuple[int, int] = ...):
    ...
