401 BTypeScriptView Raw
1import type { MutableRefObject } from 'react';
2import type { TExtend3 } from 'tsfn';
3export declare const mapStateRef: <SN extends string, SSN extends string, P extends {}, R>(stateName: SN, stateFlusherName: SSN, getValue: (props: P) => R, watchKeys: (keyof P)[]) => (props: P) => import("tsfn").TExtend<import("tsfn").TExtend<P, { [K in SN]: MutableRefObject<R>; }>, { [K_1 in SSN]: () => void; }>;