import React from 'react';
import { Completion } from '../types/index.js';
type UIState = {
    showClearMessage: boolean;
    showCompletions: boolean;
    completions: Completion[];
    setShowClearMessage: React.Dispatch<React.SetStateAction<boolean>>;
    setShowCompletions: React.Dispatch<React.SetStateAction<boolean>>;
    setCompletions: React.Dispatch<React.SetStateAction<Completion[]>>;
    resetUIState: () => void;
};
export declare function UIStateProvider({ children }: {
    children: React.ReactNode;
}): React.FunctionComponentElement<React.ProviderProps<UIState | undefined>>;
export declare function useUIStateContext(): UIState;
export {};
//# sourceMappingURL=useUIState.d.ts.map