import { type ReactNode } from 'react'; import type { ApiConfig, NotFrontComponent } from '../../types'; export interface UseNotFrontFragmentOptions { /** Stable, collision-free key for this fragment's Zustand slice. */ userFlow: string; components: NotFrontComponent[]; hash?: string; /** Required only for components that fire FETCH_AND_GO_TO_NEXT_UI actions. */ apiConfig?: ApiConfig; /** * Opt-in: the page id is `userFlow`, a new `hash` (payload id) replaces that * page in the store and the tree is drawn from the store. Read on mount. */ stablePage?: boolean; } export declare const useNotFrontFragment: ({ userFlow, components, hash, apiConfig, stablePage, }: UseNotFrontFragmentOptions) => ReactNode;