import { Request, Response } from 'express';
import { Services } from '../../types/Services';
import { components } from '../../types/api';
import { FilterValue } from '../../components/_filters/types';
import { defaultFilterValue } from './types';
import { FiltersType } from '../../components/_filters/filtersTypeEnum';
export declare const saveDefaults: (type: FiltersType, res: Response, req: Request, services: Services) => Promise<void | undefined>;
export declare const removeDefaults: (type: FiltersType, res: Response, req: Request, services: Services) => Promise<void | undefined>;
export declare const setUserContextDefaults: (res: Response, filters: FilterValue[]) => FilterValue[];
/**
 * Createa a query string from the saved defaults
 *
 * @param {defaultFilterValue[]} defaults
 * @return {*}  {string}
 */
export declare const createQsFromSavedDefaults: (defaults: defaultFilterValue[], fieldDefinitions: components["schemas"]["FieldDefinition"][]) => string;
declare const _default: {
    saveDefaults: (type: FiltersType, res: Response, req: Request, services: Services) => Promise<void | undefined>;
    removeDefaults: (type: FiltersType, res: Response, req: Request, services: Services) => Promise<void | undefined>;
    setUserContextDefaults: (res: Response, filters: FilterValue[]) => FilterValue[];
};
export default _default;
