import { Area, type IArea } from '../../treb-base-types/src/index'; import { Sheet } from './sheet'; /** * given a seed range (usually selection), expand in 4 directions to * find all non-blank cells. watch out for holes (maybe run twice?) * * actually I can see a couple of different ways to do this, useful * in different contexts. perhaps we'll add an option * */ export declare function ExpandRegion(seed: IArea, sheet: Sheet): Area; /** * determine if the data has headers. we infer this if the first row or * column has a different data time or formatting type than the other rows/columns. * @param area */ export declare function HasHeaders(area: Area, sheet: Sheet): { row_headers: boolean; implied_row_headers: boolean; column_headers: boolean; }; /** * find timeline for forecast analysis. must be numeric, monotonic (although * it can use date math) and we allow holes. should usually be leftmost or * closer to the left than the right. */ export declare function FindTrendTimeline(area: Area): Area | undefined; /** * find values for forecast analysis. should be to the right of the timeline, * must be numeric, although there can be holes. */ export declare function FindTrendValues(area: Area, timeline?: Area): Area | undefined;