import { ConversationReference } from '../conversation/conversation-reference.js';
import '../account.js';
import '../membership-source.js';
import '../membership-source-types.js';
import '../membership-types.js';
import '../role.js';
import '../channel-id.js';

/**
 * State object passed to the bot token service.
 */
type TokenExchangeState = {
    /**
     * The connection name that was used.
     */
    connectionName: string;
    /**
     * A reference to the conversation.
     */
    conversation: ConversationReference;
    /**
     * A reference to a related parent conversation conversation.
     */
    relatesTo?: ConversationReference;
    /**
     * The URL of the bot messaging endpoint.
     */
    msAppId: string;
};

export type { TokenExchangeState };
