DeclaredSessionOptions
SessionOptions with the state declaration as the type parameter, so
createSession can infer the snapshot's state type from stateType.
import type { DeclaredSessionOptions } from '@threadplane/ag-ui';Declaration
export type DeclaredSessionOptions<D> = Omit<SessionCommonOptions, 'stateType'> & {
readonly stateType?: D;
} & (HttpSessionSource | AgentSessionSource);Type parameters
D