import { ListControlAreaSearchFilterType } from '../../areas/ListControl'; import { IndexListControlAreaViewsProps, ViewType } from './types/views'; import type { SearchParamsChangeHandler } from '../../pageContainers/IndexPage'; import type { ApiPayloadOptions } from '../../pages/fetcher'; import type { ApiSearchParams, IndexPageTemplateProps } from '../../templates/IndexPage/types'; export declare const useInternalSearchState:
({ additionalActions, apiPayloadOptions, filters, onChangeSearchParams: onChangeSearchParamsProp, pagination, paginationHidden, recordTemplateOptionsQueryKey, windowOptionsQueryKey, windowOptionsRecordIdQueryKey, windowOptionsPreConditionQueryKey, reflectSearchQueryToUrl, sort, views, wordSearch, otherQueryKeys, }: { apiPayloadOptions?: ApiPayloadOptions | undefined; filters: ListControlAreaSearchFilterType
[]; onChangeSearchParams?: SearchParamsChangeHandler
| undefined; paginationHidden: boolean; recordTemplateOptionsQueryKey: string; windowOptionsQueryKey: string; windowOptionsRecordIdQueryKey: string; windowOptionsPreConditionQueryKey: string; reflectSearchQueryToUrl: (params: { defaultMetaSearchParams: P; filterSearchParams: P; metaSearchParams: P; otherResourceSearchParams?: unknown; sync?: boolean | undefined; view?: ViewType | undefined; removedFilters?: (keyof P)[] | undefined; }) => void; views?: IndexListControlAreaViewsProps
| undefined;
otherQueryKeys?: (keyof P)[] | undefined;
} & Pick | undefined;
metaSearchParams?: Partial | undefined;
}) => void;
updateView: ({ nextView, sync }: {
nextView?: ViewType | undefined;
sync?: boolean | undefined;
}) => void;
};