/**
 * Type definition for navigation state that can be passed through Angular Router.
 * Use generic type parameter to ensure type safety for your specific state shape.
 *
 * @example
 * ```typescript
 * interface MyNavigationState extends NavigationState {
 *   returnUrl: string;
 *   customerId: number;
 * }
 * ```
 */
export interface NavigationState {
  [key: string]: unknown;
}

/**
 * Common navigation state for "return URL" pattern.
 * Used when navigating to a page and needing to return to the previous location.
 */
export interface ReturnUrlNavigationState extends NavigationState {
  returnUrl: string;
}
