## API Report File for "opensearch-dashboards" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts import { History } from 'history'; import { Observable } from 'rxjs'; // @public export const createOsdUrlStateStorage: ({ useHash, history, onGetError, onSetError, }?: { useHash: boolean; history?: History | undefined; onGetError?: ((error: Error) => void) | undefined; onSetError?: ((error: Error) => void) | undefined; }) => IOsdUrlStateStorage; // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "opensearch-dashboards" does not have an export "Storage" // // @public export const createSessionStorageStateStorage: (storage?: Storage) => ISessionStorageStateStorage; // Warning: (ae-forgotten-export) The symbol "BaseState" needs to be exported by the entry point index.d.ts // Warning: (ae-forgotten-export) The symbol "BaseStateContainer" needs to be exported by the entry point index.d.ts // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "opensearch-dashboards" does not have an export "BaseStateContainer" // // @public export interface INullableBaseStateContainer extends BaseStateContainer { // (undocumented) set: (state: State | null) => void; } // @public export interface IOsdUrlStateStorage extends IStateStorage { cancel: () => void; // (undocumented) change$: (key: string) => Observable; flush: (opts?: { replace?: boolean; }) => boolean; // (undocumented) get: (key: string) => State | null; // (undocumented) set: (key: string, state: State, opts?: { replace: boolean; }) => Promise; } // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "opensearch-dashboards" does not have an export "Storage" // // @public export interface ISessionStorageStateStorage extends IStateStorage { // (undocumented) get: (key: string) => State | null; // (undocumented) set: (key: string, state: State) => void; } // @public export interface IStateStorage { cancel?: () => void; change$?: (key: string) => Observable; get: (key: string) => State | null; set: (key: string, state: State) => any; } // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "opensearch-dashboards" does not have an export "stateSync" // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "opensearch-dashboards" does not have an export "BaseState" // // @public export interface IStateSyncConfig { // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "opensearch-dashboards" does not have an export "BaseStateContainer" stateContainer: INullableBaseStateContainer; stateStorage: StateStorage; storageKey: string; } // @public (undocumented) export interface ISyncStateRef { start: StartSyncStateFnType; stop: StopSyncStateFnType; } // @public (undocumented) export type StartSyncStateFnType = () => void; // @public (undocumented) export type StopSyncStateFnType = () => void; // @public export function syncState({ storageKey, stateStorage, stateContainer, }: IStateSyncConfig): ISyncStateRef; // Warning: (ae-missing-release-tag) "syncStates" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) export function syncStates(stateSyncConfigs: Array>): ISyncStateRef; ```