import type { StateGS } from "./StateGS"; export declare enum StateRunResultEnum { /** State successfully activated. */ Activated = 0, /** State activation failed. */ Failed = 1, /** State was not activated because control was passed elsewhere. */ Skipped = 2 } export declare enum StateRunModeEnum { ServerRender = 0, BrowserFromServer = 1, BrowserTransition = 2 } export interface StateConstructor { new (): StateGS; readonly StateName: string; readonly IsPrivate: boolean; readonly Instance?: StateGS; } /** Available only inside the callback passed to StateGS.Configure. */ export interface StateSetupGS { UsePathRouting: boolean; DefaultStateName: string; State404Name: string; RegState(constructor: StateConstructor): void; ReplaceState(constructor: StateConstructor): void; }