export declare function useLogout(): { error: Response | undefined; logout: (redirectUrl?: string) => Promise; loading: boolean; };