import { TabContext } from './tab-context.js';
import { TabEntityContext } from './tab-entity-context.js';

/**
 *
 * Invoke ('tab/fetch') request value payload.
 *
 */
type TabRequest = {
    /**
     * @member {TabEntityContext} [tabContext] The current tab entity request context.
     */
    tabContext?: TabEntityContext;
    /**
     * @member {TabContext} [context] The current user context, i.e., the current theme.
     */
    context?: TabContext;
    /**
     * @member {string} [state] The magic code for OAuth flow.
     */
    state?: string;
};

export type { TabRequest };
