import { SubmitActionData } from '../core.js';

/**
 * Convenience class for creating the data payload to open a dialog
 * from an Action.Submit.
 *
 * Abstracts away the `msteams: { type: 'task/fetch' }` protocol detail
 * and sets a reserved `dialog_id` field for handler routing.
 *
 * @example
 * ```ts
 * new SubmitAction().withData(new OpenDialogData('simple_form'))
 * ```
 */
declare class OpenDialogData extends SubmitActionData {
    constructor(dialogId: string, extraData?: Record<string, unknown>);
}

export { OpenDialogData };
