export declare const action: (type: string, payload?: any) => any; export declare const getJS: , T extends keyof S>(state: S, stateKey: T) => S[T]; export declare const getImmutableOrJS: , T extends unknown>(state: S, stateKey: T | T[], fallbackValue?: any, returnType?: 'immutable' | 'js') => any;