import { type CellValue } from "../core/types"; /** * Parsed criteria result */ export type ParsedCriteria = { type: "exact"; value: CellValue; } | { type: "comparison"; operator: ">" | "<" | ">=" | "<=" | "<>"; value: CellValue; } | { type: "wildcard"; pattern: string; } | { type: "error"; message: string; }; /** * Simple criteria parser for COUNTIF * Handles: exact values, comparisons (>5, <=10, <>0), and wildcards (*app, ?at) */ export declare function parseCriteria(criteria: CellValue): ParsedCriteria; /** * Check if a cell value matches the parsed criteria */ export declare function matchesParsedCriteria(cellValue: CellValue, parsedCriteria: ParsedCriteria): boolean;