import { type Draft as WritableDraft } from '@reduxjs/toolkit';
import type { registerRecentQueries as registerCommerceRecentQueries } from '../commerce/recent-queries/recent-queries-actions.js';
import { registerRecentQueries } from './recent-queries-actions.js';
import { type RecentQueriesState } from './recent-queries-state.js';
export declare const recentQueriesReducer: import("redux").Reducer<RecentQueriesState> & {
    getInitialState: () => RecentQueriesState;
};
export declare function handleRegisterQueries(state: WritableDraft<RecentQueriesState>, action: ReturnType<typeof registerRecentQueries> | ReturnType<typeof registerCommerceRecentQueries>): void;
export declare function handleClearRecentQueries(state: WritableDraft<RecentQueriesState>): void;
export declare function handleExecuteSearchFulfilled(query: string, state: WritableDraft<RecentQueriesState>): void;
