import { ContextAsyncMethods, ContextSyncMethods, ContextType, Pane } from '../types'; export declare const createState: () => { panes: {}; containerWidth: number; activePaneId: any; pixelsTravelled: number; }; export declare const createProxyState: (initialState: ContextType["state"], onUpdate: any) => { panes: import('..').PaneMap; containerWidth: number; activePaneId?: number | null; pixelsTravelled: number; }; export declare const createActions: (state: ContextType["state"]) => ContextAsyncMethods & ContextSyncMethods; export declare const createContext: () => { addPane: (pane: Omit & { id: Pane["id"] | null; }) => Promise; getPanes: () => import('..').PaneMap; getNextId: () => number; setPanes: (newPanes: { [id: Pane["id"]]: Pane; }) => void; addPaneSync: (pane: Omit & { id: Pane["id"] | null; }) => number; reShowPane: (paneId: Pane["id"]) => void; updatePane: (paneId: Pane["id"], newProps: Partial) => void; showPane: (paneId: Pane["id"]) => void; hidePane: (paneId: Pane["id"]) => void; hidePaneManually: (paneId: Pane["id"]) => void; setActivePane: (paneId: Pane["id"]) => void; setPixelsTravelled: (pixelsTravelled: number) => void; updateWidthsAtStartOfInteraction: () => void; updatePaneWidth: (paneId: Pane["id"], newWidth: number) => void; updatePaneContentWidth: (paneId: Pane["id"], widthOfContent: number, widthProvidedByPane: number) => void; updatePaneWidthAlternate?: (paneId: Pane["id"], newWidth: number) => void; setContainerWidth: (width: number) => void; handleContainerResize: (width: number, widthUsedFromContent: number) => void; resetInteractionState: () => void; resetState: () => void; state: { panes: {}; containerWidth: number; activePaneId: any; pixelsTravelled: number; }; };