import { useRouterSelectors } from './useRouterStore'; type Page = 'assets' | 'collections' | 'collection'; interface State { assets: string; collection: string; collections: string; isLoading: boolean; } interface Actions { setSearch: (page: Page, value: string) => void; setIsLoading: (isLoading: boolean) => void; clear: () => void; } type SearchStore = State & Actions; export declare const useSearchStore: import('zustand').UseBoundStore, "setState" | "devtools"> & { setState(partial: SearchStore | Partial | ((state: SearchStore) => SearchStore | Partial), replace?: false | undefined, action?: (string | { [x: string]: unknown; [x: number]: unknown; [x: symbol]: unknown; type: string; }) | undefined): void; setState(state: SearchStore | ((state: SearchStore) => SearchStore), replace: true, action?: (string | { [x: string]: unknown; [x: number]: unknown; [x: symbol]: unknown; type: string; }) | undefined): void; devtools: { cleanup: () => void; }; }>; export declare const useSearchSelectors: { (): SearchStore; (selector: (state: SearchStore) => U): U; } & Omit, "setState" | "devtools"> & { setState(partial: SearchStore | Partial | ((state: SearchStore) => SearchStore | Partial), replace?: false | undefined, action?: (string | { [x: string]: unknown; [x: number]: unknown; [x: symbol]: unknown; type: string; }) | undefined): void; setState(state: SearchStore | ((state: SearchStore) => SearchStore), replace: true, action?: (string | { [x: string]: unknown; [x: number]: unknown; [x: symbol]: unknown; type: string; }) | undefined): void; devtools: { cleanup: () => void; }; } & { use: { assets: () => string; collection: () => string; collections: () => string; isLoading: () => boolean; setSearch: () => (page: Page, value: string) => void; setIsLoading: () => (isLoading: boolean) => void; clear: () => () => void; }; }; export declare function useSearchStateByPage(page: Page): { value: string; isLoading: boolean; setSearch: (newValue: string) => void; setIsLoading: (isLoading: boolean) => void; }; export declare function useClearCollectionOnPageChange(page?: ReturnType): void; export {};