UNPKG

webstorm-init

Version:

CLI tool to write initial WebStorm settings into a new project

25 lines (24 loc) 810 B
/// <reference types="lodash" /> /// <reference types="react" /> import { SearchError, Page, Article } from "./api"; export declare class Store { input: string; updateInputs: (value: string) => void; debouncedSearch: (() => Promise<void>) & import("lodash").Cancelable; selectedIndex: number; selectNext: () => void; selectPrev: () => void; get selectedPageID(): number; get selectedURL(): string; get selectedTitle(): string; article: Article; updateArticle: () => Promise<void>; results: Page[]; isDetailsOpen: boolean; toggleDetails: () => void; isCleanUpTime: boolean; lang: string; error: SearchError | null; } export declare const store: Store; export declare const StoreContext: import("react").Context<Store>;