import { AppRequest } from '../../../services/requests/types'; export interface RequestFormMetadata { /** Request type identifier (e.g. 'support_ticket', 'feature_request'). Required. */ type: string; /** Label for the title field */ titleLabel?: string; /** Placeholder for the title field */ titlePlaceholder?: string; /** Label for the description field */ descriptionLabel?: string; /** Placeholder for the description field */ descriptionPlaceholder?: string; /** Submit button text */ submitButtonText?: string; /** Cancel button text — if omitted, no cancel button is shown */ cancelButtonText?: string; /** Show attachment uploader (default: true) */ showAttachments?: boolean; /** Custom success message — overrides i18n default */ successMessage?: string; /** Compact mode (less spacing) */ compact?: boolean; /** Additional CSS class for the wrapper */ cssClass?: string; } export interface RequestSubmitEvent { requestId: string; request: AppRequest; type: string; title: string; attachmentUrls?: string[]; }