import * as history from 'history'; import { J as JSONMappable, K as Keypath, a as JSONValue, P as PageKey, N as NavigationContextProps, b as NavigationProviderProps, c as NavigateTo, V as VisitResponse, F as FetchArgs, S as SuperglueState, d as SuperglueStore, e as SetupProps, A as ApplicationVisit, f as ApplicationRemote, H as Handlers, g as ApplicationProps } from './index-BYr1PoYr.mjs'; export { t as AllPages, O as BasicRequestInit, _ as BeforeSave, Q as BuildStore, T as BuildVisitAndRemote, C as ComponentIdentifier, D as Defer, L as DefermentThunk, y as Dispatch, q as Fragment, G as GraftResponse, a0 as GraftingErrorAction, $ as GraftingSuccessAction, z as HistoryState, l as JSONKeyable, k as JSONObject, j as JSONPrimitive, M as Meta, E as MetaThunk, i as NavigationAction, n as Page, o as PageResponse, m as ParsedResponse, Y as Remote, x as RemoteCreator, Z as RemoteProps, R as RestoreStrategy, u as RootState, B as SaveAndProcessPageThunk, U as UJSHandlers, W as Visit, w as VisitCreator, v as VisitMeta, I as VisitMetaThunk, X as VisitProps, p as pageReducer, r as rootReducer, s as saveAndProcessPage, h as superglueReducer } from './index-BYr1PoYr.mjs'; import React from 'react'; import * as _reduxjs_toolkit from '@reduxjs/toolkit'; declare function getIn(node: JSONMappable, path: Keypath): JSONValue; declare function urlToPageKey(url: string): PageKey; declare const NavigationContext: React.Context; declare const NavigationProvider: React.ForwardRefExoticComponent>; declare const GRAFTING_ERROR = "@@superglue/GRAFTING_ERROR"; declare const GRAFTING_SUCCESS = "@@superglue/GRAFTING_SUCCESS"; declare const saveResponse: _reduxjs_toolkit.ActionCreatorWithPreparedPayload<[{ pageKey: string; page: VisitResponse; }], { pageKey: string; page: VisitResponse; }, "@@superglue/SAVE_RESPONSE", never, never>; declare const updateFragments: _reduxjs_toolkit.ActionCreatorWithPayload<{ name: string; path: Keypath; pageKey: PageKey; value: JSONMappable; previousValue?: JSONMappable; }, string>; declare const copyPage: _reduxjs_toolkit.ActionCreatorWithPayload<{ from: PageKey; to: PageKey; }, string>; declare const removePage: _reduxjs_toolkit.ActionCreatorWithPayload<{ pageKey: PageKey; }, string>; declare const beforeFetch: _reduxjs_toolkit.ActionCreatorWithPayload<{ fetchArgs: FetchArgs; }, string>; declare const beforeVisit: _reduxjs_toolkit.ActionCreatorWithPayload<{ currentPageKey: PageKey; fetchArgs: FetchArgs; }, string>; declare const beforeRemote: _reduxjs_toolkit.ActionCreatorWithPayload<{ currentPageKey: PageKey; fetchArgs: FetchArgs; }, string>; declare function useSuperglue(): SuperglueState; declare function useContent(): T; declare const prepareStore: (store: SuperglueStore, initialPage: VisitResponse, path: string) => void; declare const setup: ({ initialPage, baseUrl, path, store, buildVisitAndRemote, history, navigatorRef, }: SetupProps) => { visit: ApplicationVisit; remote: ApplicationRemote; nextHistory: history.History; initialPageKey: string; ujs: Handlers; }; declare function Application({ initialPage, baseUrl, path, store, buildVisitAndRemote, history, mapping, ...rest }: ApplicationProps): React.JSX.Element; export { Application, ApplicationProps, ApplicationRemote, ApplicationVisit, FetchArgs, GRAFTING_ERROR, GRAFTING_SUCCESS, Handlers, JSONMappable, JSONValue, Keypath, NavigateTo, NavigationContext, NavigationContextProps, NavigationProvider, NavigationProviderProps, PageKey, SetupProps, SuperglueState, SuperglueStore, VisitResponse, beforeFetch, beforeRemote, beforeVisit, copyPage, getIn, prepareStore, removePage, saveResponse, setup, updateFragments, urlToPageKey, useContent, useSuperglue };