import { KeyFunc } from "../util/keyed-array-diff"; import { State } from "./state"; import { SimpleDeep, DeepChildFactory } from "./simple-deep"; import { KeyedDeep } from "./keyed-deep"; export declare function deep(state: State): SimpleDeep; export declare function deep(state: State, key: KeyFunc): KeyedDeep; /** * * Returns a deep child factory that creates [keyed deep](https://connective.dev/docs/deep#keyed-deep) sub-states * with given key function. Pass this to `.sub()` or `.key()` on [deep states](https://connective.dev/docs/deep) * to have keyed sub-states. * * @param keyfunc the key function to be used * */ export declare function keyed(keyfunc: KeyFunc): DeepChildFactory; export default deep;