import { NavigationOptions, SearchHeaderProps } from '../Application/types'; export type HeaderType = 'default' | 'extended' | 'none'; export type ScreenRef = { /** * Set options for screen * @param params */ setOptions: (params: NavigationOptions) => void; /** * Show search header * @param params */ setSearchHeader: (params: SearchHeaderProps) => void; }; export type SpanNumber = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; export type GridContextProps = { /** * Represents the number of columns in the grid. */ numberOfColumns: number; /** * Represents the size of the gutter between grid items. */ gutterSize: number; /** * Represents the size (width or height) per span number. */ sizePerSpan: number; /** * A function that receives a span number and returns the calculated size for that span. */ getSizeSpan: (span: number) => number; };