export declare const logout: () => (dispatch: any) => Promise;