import { type PropsWithChildren } from "react"; import { ScrollView, TextInput, type PressableProps, type ScrollViewProps, type StyleProp, type TextInputProps, type TextProps, type ViewProps, type ViewStyle } from "react-native"; import type { BoardSearchBaseProps, ChoiceChipsBaseProps, CommentActionBaseProps, CommentLikeBaseProps, CommentRootBaseProps, EntryRootBaseProps, EntryUpvoteBaseProps, FeedbackColorProps, FormSubmitBaseProps, RepliesButtonBaseProps } from "../../../shared/types"; /** * Props for `FeedbackBoard.Root`. */ export type BoardRootProps = PropsWithChildren; declare function BoardRoot({ primaryColor, primaryForeground, backgroundColor, surfaceColor, inputColor, textColor, mutedColor, borderColor, dangerColor, children, }: BoardRootProps): import("react").JSX.Element; declare function BoardHeader({ style, ...props }: ViewProps): import("react").JSX.Element; declare function BoardTitle({ style, children, ...props }: TextProps): import("react").JSX.Element; /** * Props for native `FeedbackBoard.Search`. */ export interface BoardSearchProps extends Omit, BoardSearchBaseProps { } declare function BoardState({ style, ...props }: ViewProps): import("react").JSX.Element; export declare const FeedbackBoard: { Root: typeof BoardRoot; Header: typeof BoardHeader; Title: typeof BoardTitle; Search: import("react").ForwardRefExoticComponent>; List: import("react").ForwardRefExoticComponent>; State: typeof BoardState; }; /** Props for the reusable native `ChoiceChips` primitive. */ export interface ChoiceChipsProps extends Omit, ChoiceChipsBaseProps { } export declare function ChoiceChips({ options, value, onValueChange, style, ...props }: ChoiceChipsProps): import("react").JSX.Element; /** * Props for native `FeedbackEntry.Root`. */ export interface EntryRootProps extends ViewProps, EntryRootBaseProps { } declare function EntryRoot({ entry, style, ...props }: EntryRootProps): import("react").JSX.Element; export interface EntryUpvoteProps extends Omit, EntryUpvoteBaseProps { primaryColor?: string; style?: StyleProp; } declare function EntryUpvote({ onToggle, children, primaryColor, style, accessibilityLabel, ...props }: EntryUpvoteProps): import("react").JSX.Element; declare function EntryKind({ style, children, ...props }: TextProps): import("react").JSX.Element; declare function EntryContent({ style, ...props }: ViewProps): import("react").JSX.Element; declare function EntryTitle({ style, children, ...props }: TextProps): import("react").JSX.Element; declare function EntryBody({ style, children, ...props }: TextProps): import("react").JSX.Element; declare function EntryStatus({ style, children, ...props }: TextProps): import("react").JSX.Element; declare function EntryCommentCount({ style, children, ...props }: TextProps): 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; }; export interface CommentRootProps extends ViewProps, CommentRootBaseProps { } declare function CommentRoot({ comment, style, ...props }: CommentRootProps): import("react").JSX.Element; declare function CommentBody({ style, children, ...props }: TextProps): import("react").JSX.Element; export interface CommentLikeProps extends Omit, CommentLikeBaseProps { primaryColor?: string; style?: StyleProp; } declare function CommentLike({ onToggle, children, primaryColor, style, accessibilityLabel, ...props }: CommentLikeProps): import("react").JSX.Element; export interface CommentActionProps extends Omit, CommentActionBaseProps { style?: StyleProp; } declare function CommentReply({ onActivate, children, style, ...props }: CommentActionProps): import("react").JSX.Element; export interface RepliesButtonProps extends Omit, RepliesButtonBaseProps { style?: StyleProp; } declare function CommentRepliesButton({ expanded, onExpandedChange, children, style, ...props }: RepliesButtonProps): import("react").JSX.Element | null; declare function CommentChildren({ style, ...props }: ViewProps): 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({ style, ...props }: ViewProps): import("react").JSX.Element; declare function FormInput({ style, ...props }: TextInputProps): import("react").JSX.Element; declare function FormTextarea({ style, ...props }: TextInputProps): import("react").JSX.Element; export interface FormSubmitProps extends Omit, FormSubmitBaseProps { backgroundColor?: string; color?: string; style?: StyleProp; } declare function FormSubmit({ submitting, children, backgroundColor, color, disabled, style, ...props }: FormSubmitProps): import("react").JSX.Element; export declare const FeedbackForm: { Root: typeof FormRoot; Input: typeof FormInput; Textarea: typeof FormTextarea; Submit: typeof FormSubmit; }; export {}; //# sourceMappingURL=primitives.d.ts.map