/** Returns a function that logs a value with a given message */
export declare function log(text: string): (value: any) => void;
/** Wraps a value in an object and stores it the `payload` field */
export declare function payload_
(payload: P): {
payload: P;
};
/** Wraps a value in an object and stores it the `payload` field */
export declare function apply_(updater: (state: State, payload: P) => State, payload: P): (state: State) => State;
export declare function with_(fn: (state: State) => (state: State) => State): (state: State) => State;
export declare function if_(pred: boolean, fn: (state: State) => State): (state: State) => State;
export declare function compose_(fns: Array<(s: State) => State>): (s: State) => State;
/** Returns a reducer function that merges props with state */
export declare function merge_(obj: Props): (state: State) => State;
export declare function pick_(prop: Prop): (fn: (p: Value) => Value) => >(state: State) => State;
export declare function swap_(item: X): (arr: X[]) => X[];
export declare function findById(id: string): (arr: X[]) => X | undefined;
export declare function map_(fn: (state: X) => X): (arr: X[]) => X[];