import React, { Component } from 'react';
import { ResolveThunks } from 'react-redux';
import { togglePersist } from '../../actions';
import { StoreState } from '../../reducers';
type StateProps = ReturnType<typeof mapStateToProps>;
type DispatchProps = ResolveThunks<typeof actionCreators>;
interface OwnProps {
    disabled?: boolean;
}
type Props = StateProps & DispatchProps & OwnProps;
declare class LockButton extends Component<Props> {
    shouldComponentUpdate(nextProps: Props): boolean;
    render(): React.JSX.Element;
}
declare const mapStateToProps: (state: StoreState) => {
    persisted: boolean | undefined;
};
declare const actionCreators: {
    onClick: typeof togglePersist;
};
declare const _default: import("react-redux").ConnectedComponent<typeof LockButton, {
    key?: React.Key | null | undefined;
    disabled?: boolean | undefined;
    ref?: React.LegacyRef<LockButton> | undefined;
    context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
    store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
}>;
export default _default;
