import React from "react"; import { variants } from "../Badges/props"; export declare const sizes: string[]; export declare const layouts: string[]; export declare const alignment: string[]; export declare const textSizes: string[]; type SIZES = (typeof sizes)[number]; type LAYOUTS = (typeof layouts)[number]; type ALIGNMENTS = (typeof alignment)[number]; type TEXTSIZES = (typeof textSizes)[number]; export interface RadioButton { disabled?: boolean; value?: any; checked?: boolean; isWrapText?: boolean; valid?: boolean; onChange?(e: any): void; onClick?(): void; name?: string; labelOffset?: string; id?: string; label?: React.ReactNode; /** Horizontal layout — başlık alanı (ReactNode; görsel vb. destekler). Verilmezse `label` kullanılır */ title?: React.ReactNode; description?: React.ReactNode; size?: SIZES; textSize?: TEXTSIZES; layout?: LAYOUTS; image?: React.ReactNode; hasNoneClick?: boolean; hasBadge?: boolean; badgeText?: string; badgeVariant?: string; labelSm?: string; readOnly?: boolean; color?: string; alignment?: ALIGNMENTS; verticalAlign?: string; price?: string; priceDesc?: string; hasTitleBadge?: boolean; titleBadgeLayout?: (typeof variants)[number]; titleBadgeText?: string; /** Title badge konumu — inline: başlığın yanında, below: başlığın altında, topRight: kartın sağ üstünde absolute */ titleBadgePosition?: "inline" | "below" | "topRight"; hasPriceBadge?: boolean; priceBadgeLayout?: (typeof variants)[number]; priceBadgeText?: string; /** Horizontal layout — sağ alana özel içerik (verilirse price/badge yerine render edilir) */ rightContent?: React.ReactNode; /** Horizontal layout — Inner min-height: "70" (70px) veya "initial" */ innerMinHeight?: "70" | "initial"; iconName?: string; iconColor?: string; content?: React.ReactNode; showIndicator?: boolean; hasError?: boolean; errorMessage?: React.ReactNode; /** false ise sadece görüntülenir; checked/disabled/error stilleri korunur */ isCheckable?: boolean; } export declare const BoxedDefault: RadioButton; export declare const BasicDefault: RadioButton; export declare const BoxedWithIconDefault: RadioButton; export declare const HorizontalDefault: RadioButton; export interface RadioButtonStyledProps { $hasNoneClick?: boolean; $disabled?: boolean; $valid: boolean; $labelOffset?: string; $checked?: boolean; $size: SIZES; $textSize?: TEXTSIZES; $isWrapText?: boolean; $readOnly: boolean; $alignment?: string; $verticalAlign?: string; $showIndicator?: boolean; $isCheckable?: boolean; } export type RadioButtonProps = RadioButton; export {};