import { OntologyNode } from '../Utils/OntologyUtils'; export declare type SiteMapOntology = OntologyNode<{}>; import { ActionThunk } from '../Core/WdkMiddleware'; export declare type Action = LoadingAction | InitializeAction | UpdateExpansionAction | SetSearchTextAction | ErrorAction; export declare const LOADING = "sitemap/loading"; export declare type LoadingAction = { type: typeof LOADING; }; export declare function loading(): LoadingAction; export declare const INITIALIZE = "sitemap/initialize"; export declare type InitializeAction = { type: typeof INITIALIZE; payload: { tree: SiteMapOntology; }; }; export declare function initialize(tree: SiteMapOntology): InitializeAction; export declare const UPDATE_EXPANSION = "sitemap/updateExpansion"; export declare type UpdateExpansionAction = { type: typeof UPDATE_EXPANSION; payload: { expandedList: string[]; }; }; export declare function updateExpansion(expandedList: string[]): UpdateExpansionAction; export declare const SET_SEARCH_TEXT = "sitemap/set-search-text"; export declare type SetSearchTextAction = { type: typeof SET_SEARCH_TEXT; payload: { searchText: string; }; }; export declare function setSearchText(searchText: string): SetSearchTextAction; export declare const SITEMAP_ERROR = "sitemap/error"; export declare type ErrorAction = { type: typeof SITEMAP_ERROR; payload: { error: Error; }; }; export declare function sitemapError(error: Error): ErrorAction; export declare function loadCurrentSiteMap(): ActionThunk; //# sourceMappingURL=SiteMapActions.d.ts.map