export type Search = { terms: string; isOrSearch: boolean; }; export type SearchState = { current: any; results: string[]; fileResults: string[]; flagged: string[]; pinned: Record; isSearchingTerm: boolean; isSearchGettingMore: boolean; isLimitedResults: number; matches: { [x: string]: string[]; }; truncationInfo?: { posts: number; files: number; }; }; export type SearchParameter = { terms: string; is_or_search: boolean; time_zone_offset?: number; page: number; per_page: number; include_deleted_channels: boolean; };