import { createStore } from "@stencil/store";
const filterParamsInitialState = {};
const propsParamsInitialState = {};
const filterParamsStore = createStore(() => filterParamsInitialState);
const { state: filterParams, on: onQueryParamsChange } = filterParamsStore;
const propsParamsStore = createStore(() => propsParamsInitialState);
const { state: propsParams } = propsParamsStore;
const getRequestParams = () => {
    return Object.assign(Object.assign({}, filterParams), propsParams);
};
const clearParams = () => {
    filterParamsStore.reset();
};
export { filterParams, propsParams, onQueryParamsChange, clearParams, getRequestParams };
