import type { Ref } from 'react'; import type { ForwardRefForwardPropsComponent, OmitStrict } from '@pega/cosmos-react-core'; import type { ChatComposerProps } from './ChatComposer'; export declare const StyledSuggestedReplyHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLDivElement>, never>> & string; export declare const StyledSuggestedReplyContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLDivElement>, never>> & string; export declare const StyledReply: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLDivElement>, never>> & string; export declare const StyledRepliesAction: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLDivElement>, never>> & string; export declare const StyledNotification: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLDivElement>, never>> & string; export declare const StyledSuggestedReplyIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute> & string & Omit, keyof import("react").Component>; export interface SuggestedReplyItem { /** Id for this suggested reply */ id: string; /** Suggested reply message */ message: string; /** type of this suggested reply */ type: 'dialog' | 'genAIReply'; } interface ReplyLoadingState extends OmitStrict { /** loading until reply is retrieved */ loading: boolean; } interface ReplyErrorState extends SuggestedReplyItem { /** If there are no suggestions from GenAI or if there is an error */ errorType: 'noSuggestions' | 'error'; } export type SuggestedReply = SuggestedReplyItem | ReplyLoadingState | ReplyErrorState; export declare const isReplyLoadingState: (reply: SuggestedReply) => reply is ReplyLoadingState; export declare const isReplyErrorState: (reply: SuggestedReply) => reply is ReplyErrorState; export interface SuggestedReplyPickerProps extends Pick { /** ref to the element */ ref?: Ref; /** Suggested replies */ replies?: SuggestedReply[]; /** Id of the current reply */ currentReplyId?: SuggestedReply['id']; /** Fired when user clicks on left or right buttons * @param id Id of the new reply */ onReplyChange: (id: SuggestedReply['id']) => void; /** Current state of the panel */ collapsed: boolean; /** Callback for expand or collapse click */ onExpandCollapse: () => void; /** Callback for the event when a suggested reply is selected */ onSelect: (suggestedReply: SuggestedReply) => void; /** Show notification on picker header */ showNotification?: boolean; } declare const SuggestedReplyPicker: ForwardRefForwardPropsComponent; export default SuggestedReplyPicker; //# sourceMappingURL=SuggestedReplyPicker.d.ts.map