import { type ButtonHTMLAttributes, type FormHTMLAttributes, type HTMLAttributes, type InputHTMLAttributes, type SelectHTMLAttributes, type TextareaHTMLAttributes } from "react"; import type { BoardRootBaseProps, BoardSearchBaseProps, CommentActionBaseProps, CommentLikeBaseProps, CommentRootBaseProps, ChoiceChipsBaseProps, EntryRootBaseProps, EntryUpvoteBaseProps, FormSubmitBaseProps, RepliesButtonBaseProps } from "../shared/types"; /** * Props for `FeedbackBoard.Root`. */ export interface BoardRootProps extends HTMLAttributes, BoardRootBaseProps { } declare function BoardRoot({ primaryColor, backgroundColor, surfaceColor, inputColor, textColor, mutedColor, borderColor, dangerColor, unstyled: localUnstyled, className, style, ...props }: BoardRootProps): import("react").JSX.Element; declare function BoardHeader(props: HTMLAttributes): import("react").JSX.Element; declare function BoardTitle(props: HTMLAttributes): import("react").JSX.Element; /** * Props for `FeedbackBoard.Search`. */ export interface BoardSearchProps extends Omit, "children" | "value" | "onChange">, BoardSearchBaseProps { } declare function BoardSearch({ value, onValueChange, children, className, ...props }: BoardSearchProps): import("react").JSX.Element; declare function BoardList(props: HTMLAttributes): import("react").JSX.Element; declare function BoardState(props: HTMLAttributes): import("react").JSX.Element; export declare const FeedbackBoard: { Root: typeof BoardRoot; Header: typeof BoardHeader; Title: typeof BoardTitle; Search: typeof BoardSearch; List: typeof BoardList; State: typeof BoardState; }; /** * Props for the reusable web `ChoiceChips` primitive. */ export interface ChoiceChipsProps extends Omit, "children">, ChoiceChipsBaseProps { } export declare function ChoiceChips({ options, value, onValueChange, className, role, ...props }: ChoiceChipsProps): import("react").JSX.Element; /** * Props for `FeedbackEntry.Root`. */ export interface EntryRootProps extends HTMLAttributes, EntryRootBaseProps { } declare function EntryRoot({ entry, className, ...props }: EntryRootProps): import("react").JSX.Element; /** * Props for `FeedbackEntry.Upvote`. */ export interface EntryUpvoteProps extends Omit, "children" | "onClick" | "onToggle">, EntryUpvoteBaseProps { } declare function EntryUpvote({ onToggle, children, "aria-label": accessibilityLabel, className, ...props }: EntryUpvoteProps): import("react").JSX.Element; declare function EntryContent(props: HTMLAttributes): import("react").JSX.Element; declare function EntryKind(props: HTMLAttributes): import("react").JSX.Element; declare function EntryTitle(props: HTMLAttributes): import("react").JSX.Element; declare function EntryBody(props: HTMLAttributes): import("react").JSX.Element; declare function EntryStatus(props: HTMLAttributes): import("react").JSX.Element; declare function EntryCommentCount(props: HTMLAttributes): import("react").JSX.Element; export declare const FeedbackEntry: { Root: typeof EntryRoot; Upvote: typeof EntryUpvote; Content: typeof EntryContent; Kind: typeof EntryKind; Title: typeof EntryTitle; Body: typeof EntryBody; Status: typeof EntryStatus; CommentCount: typeof EntryCommentCount; }; /** * Props for `Comment.Root`. */ export interface CommentRootProps extends HTMLAttributes, CommentRootBaseProps { } declare function CommentRoot({ comment, className, ...props }: CommentRootProps): import("react").JSX.Element; declare function CommentBody(props: HTMLAttributes): import("react").JSX.Element; /** * Props for `Comment.Like`. */ export interface CommentLikeProps extends Omit, "children" | "onClick" | "onToggle">, CommentLikeBaseProps { } declare function CommentLike({ onToggle, children, "aria-label": accessibilityLabel, className, ...props }: CommentLikeProps): import("react").JSX.Element; /** * Props for a simple comment action. */ export interface CommentActionProps extends Omit, "children" | "onClick" | "onToggle">, CommentActionBaseProps { } declare function CommentReply({ onActivate, children, className, ...props }: CommentActionProps): import("react").JSX.Element; /** * Props for `Comment.RepliesButton`. */ export interface RepliesButtonProps extends Omit, "children" | "onClick" | "onToggle">, RepliesButtonBaseProps { } declare function CommentRepliesButton({ expanded, onExpandedChange, children, className, ...props }: RepliesButtonProps): import("react").JSX.Element | null; declare function CommentChildren(props: HTMLAttributes): import("react").JSX.Element; export declare const Comment: { Root: typeof CommentRoot; Body: typeof CommentBody; Like: typeof CommentLike; Reply: typeof CommentReply; RepliesButton: typeof CommentRepliesButton; Children: typeof CommentChildren; }; declare function FormRoot(props: FormHTMLAttributes): import("react").JSX.Element; declare function FormInput(props: InputHTMLAttributes): import("react").JSX.Element; declare function FormTextarea(props: TextareaHTMLAttributes): import("react").JSX.Element; declare function FormSelect(props: SelectHTMLAttributes): import("react").JSX.Element; /** * Props for `FeedbackForm.Submit`. */ export interface FormSubmitProps extends Omit, "children">, FormSubmitBaseProps { } declare function FormSubmit({ submitting, children, className, ...props }: FormSubmitProps): import("react").JSX.Element; export declare const FeedbackForm: { Root: typeof FormRoot; Input: typeof FormInput; Textarea: typeof FormTextarea; Select: typeof FormSelect; Submit: typeof FormSubmit; }; export {}; //# sourceMappingURL=primitives.d.ts.map