import type { TemplateQueryExecuteSortModel, TemplateQueryOperatorModel, TemplateQueryPropertyPresentationModel } from '../../../../core/backend-api/index.js'; import { TemplateQueryPropertyTypeModel } from '../../../../core/backend-api/index.js'; type TemplateOperatorModel = TemplateQueryOperatorModel & { localizeKey?: string; }; type TemplatePropertyModel = TemplateQueryPropertyPresentationModel & { localizeKey?: string; }; type TemplateSortModel = TemplateQueryExecuteSortModel & { localizeKey?: string; }; /** * Localizes the operators based on the current property type * @param {Array} operators - The operators to localize * @param {TemplateQueryPropertyTypeModel | null} currentPropertyType - The property type to localize the operators for * @returns {Array} The localized operators */ export declare function localizeOperators(operators: Array, currentPropertyType: TemplateQueryPropertyTypeModel | null): Array; /** * Localizes the given property types * @param {Array} [propertyTypes] - The property types to localize * @returns {Array | undefined} The localized property types */ export declare function localizePropertyType(propertyTypes?: Array): TemplatePropertyModel[] | undefined; /** * Localizes the given sort direction * @param {TemplateQueryExecuteSortModel | null} [sort] - The sort to localize * @returns {TemplateSortModel | undefined} The localized sort */ export declare function localizeSort(sort?: TemplateQueryExecuteSortModel | null): TemplateSortModel | undefined; export {};