import type { AutotaskQueryFilter, AutotaskApiQueryFilter } from '../types/general.js'; /** * Converts a nested filter structure into a flat array of filters that the Autotask API can understand. * This function handles the conversion of logical operators (AND/OR) into the appropriate format. * * @param filter - The filter to convert (can be a simple filter or a filter group) * @returns A flat array of filters in the format expected by the Autotask API */ export declare function convertToApiFilters(filter: AutotaskQueryFilter): AutotaskApiQueryFilter[]; /** * Validates that a filter structure is valid * @throws {Error} If the filter structure is invalid */ export declare function validateFilter(filter: AutotaskQueryFilter): void; //# sourceMappingURL=filterUtils.d.ts.map