/**
 * Input type for the `usePageTitle` helper function.
 * Contains optional title and subtitle properties that can be set independently.
 */
export interface PageTitleInput {
  /**
   * Optional page title (without ISA prefix).
   * When undefined, the document title will not be updated.
   * @example
   * ```typescript
   * { title: 'Dashboard' }
   * { title: searchTerm() ? `Search - "${searchTerm()}"` : undefined }
   * ```
   */
  title?: string;

  /**
   * Optional subtitle to display in the tab.
   * When undefined, the tab subtitle will not be updated.
   * Useful for status indicators, context information, or step numbers.
   * @example
   * ```typescript
   * { subtitle: 'Active Orders' }
   * { subtitle: 'Step 2 of 5' }
   * { title: 'Order Details', subtitle: 'Pending' }
   * ```
   */
  subtitle?: string;
}
