Properties

destroy: () => void

Use unsubscribe returned by subscribe

getInitialState: () => GlobalSearchState
getState: () => GlobalSearchState
setState: (
    partial:
        | GlobalSearchState
        | Partial<GlobalSearchState>
        | (
            state: GlobalSearchState,
        ) => GlobalSearchState | Partial<GlobalSearchState>,
    replace?: boolean,
) => void
subscribe: (
    listener: (
        state: GlobalSearchState,
        prevState: GlobalSearchState,
    ) => void,
) => () => void