declare const _default: (params?: any) => void; /** * Restrict access to authenticated users. * Redirect anonymous users to the login page. * * Use it in your custom page components to require * authentication. * * You can set additional `authParams` at will if your authProvider * requires it. * * @example * import { useAuthenticated } from '../app'; * const FooPage = () => { * useAuthenticated(); * return ; * } * const CustomRoutes = [ * } /> * ]; * const App = () => ( * * ... * * ); */ export default _default;