697 BTypeScriptView Raw
1import { LocationPlugin, ServicesPlugin } from './interface';
2import { UIRouter } from '../router';
3export declare function servicesPlugin(router: UIRouter): ServicesPlugin;
4/** A `UIRouterPlugin` uses the browser hash to get/set the current location */
5export declare const hashLocationPlugin: (router: UIRouter) => LocationPlugin;
6/** A `UIRouterPlugin` that gets/sets the current location using the browser's `location` and `history` apis */
7export declare const pushStateLocationPlugin: (router: UIRouter) => LocationPlugin;
8/** A `UIRouterPlugin` that gets/sets the current location from an in-memory object */
9export declare const memoryLocationPlugin: (router: UIRouter) => LocationPlugin;