import { ContextEntityField, ContextFeedbackPayload } from '../config.ts'; import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; interface PvContextFeedbackProps { /** The field labels to offer for feedback selection. */ fields?: ContextEntityField[]; /** * Handles the submitted feedback. Resolve `true` when the feedback was * accepted (the form resets and a success toast appears) or `false` when it * failed (an error toast appears and the form stays open so the user can * retry). The submit button shows a spinner while the returned promise is * pending. */ onSubmitFeedback?: (payload: ContextFeedbackPayload) => Promise; /** Toast message shown after feedback is accepted. */ successMessage?: string; /** Toast message shown when feedback submission fails. */ errorMessage?: string; } declare const _default: DefineComponent & Readonly<{}>, { successMessage: string; errorMessage: string; }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>; export default _default;