UNPKG

@ipp/cli

Version:

An image build orchestrator for the modern web

13 lines (12 loc) 569 B
/** * Image Processing Pipeline - Copyright (c) Marcus Cemes * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /// <reference types="react" /> import { Observable } from "rxjs"; import { State } from "../../lib/state"; export declare const appContext: import("react").Context<Observable<State>>; export declare function useAppState<T>(map: (observable: Observable<State>) => Observable<T>): T | null; export declare function useAppStateValue<T>(mapper: (state: State) => T): T | null;