import { LitElement } from 'lit'; import '../../reusable/link'; import '../../reusable/card'; import '../../reusable/button'; /** * AISourcesFeedback Component. * * @slot copy - copy button * @slot sources - source cards in source panel. * @slot feedback-form - Positive feedback form. * @fires on-toggle - Emits the `opened` state when the panel item opens/closes. *

 * detail: {
 *   sourcesOpened: boolean,
 *   feedbackOpened: boolean,
 *   selectedFeedbackType: string
 * }
 * 
* @fires on-feedback-deselected - Emits when thumbs-up or thumbs-down button is deselected. `detail:{ feedbackType: string }` */ export declare class AISourcesFeedback extends LitElement { static styles: import("lit").CSSResult; /** expandable anchor opened state for Sources used. */ accessor sourcesOpened: boolean; /** expandable anchor opened state for Feedback buttons. */ accessor feedbackOpened: boolean; /** expandable anchor disabled state for Sources used.. */ accessor sourcesDisabled: boolean; /** expandable anchor disabled state for Feedback buttons. */ accessor feedbackDisabled: boolean; /** Limits visible sources behind a "Show more" button. */ accessor revealAllSources: boolean; /** Text string customization. */ accessor textStrings: { sourcesText: string; foundSources: string; showMore: string; showLess: string; positiveFeedback: string; negativeFeedback: string; }; /** Close button text. */ accessor closeText: string; /** Number of sources visible when limited. * @internal */ accessor _limitCount: number; /** Sources limit visibility. * @internal */ accessor limitRevealed: boolean; /** Internal text strings. * @internal */ accessor _textStrings: { sourcesText: string; foundSources: string; showMore: string; showLess: string; positiveFeedback: string; negativeFeedback: string; }; /** Selecting Positive or Negative Feedback * @internal */ accessor _selectedFeedbackType: any; /** * Queries slotted sources. * @ignore */ accessor _sourceEls: any; /** Tracks the number of clicks on thumbs up icon * @internal */ accessor thumbsUpClickCount: number; /** Tracks the number of clicks on thumbs down icon * @internal */ accessor thumbsDownClickCount: number; render(): import("lit-html").TemplateResult<1>; private _handleClick; private _updateFeedbackCounts; private _shouldEmitFeedbackEvent; private _emitToggleEvent; private _toggleFeedbackPanel; protected _handleSlotChange(): void; private _toggleLimitRevealed; willUpdate(changedProps: any): void; protected updated(changedProps: any): void; } declare global { interface HTMLElementTagNameMap { 'kyn-ai-sources-feedback': AISourcesFeedback; } } //# sourceMappingURL=aiSourcesFeedback.d.ts.map