@loafmarkets/ui 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,271 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import * as react_jsx_runtime from 'react/jsx-runtime';
5
+ import { Time } from 'lightweight-charts';
6
+
7
+ declare const buttonVariants: (props?: ({
8
+ variant?: "primary" | "accent" | "accentOutline" | "media" | "outline" | "ghost" | "danger" | null | undefined;
9
+ size?: "sm" | "md" | "lg" | "icon" | null | undefined;
10
+ radius?: "md" | "pill" | null | undefined;
11
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
12
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
13
+ asChild?: boolean;
14
+ }
15
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
16
+
17
+ declare const badgeVariants: (props?: ({
18
+ variant?: "outline" | "default" | "muted" | "success" | "active" | "pending" | "rejected" | null | undefined;
19
+ size?: "sm" | "md" | null | undefined;
20
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
21
+ interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
22
+ }
23
+ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
24
+
25
+ interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
26
+ }
27
+ declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
28
+ interface CardHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
29
+ }
30
+ declare const CardHeader: React.ForwardRefExoticComponent<CardHeaderProps & React.RefAttributes<HTMLDivElement>>;
31
+ interface CardTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
32
+ }
33
+ declare const CardTitle: React.ForwardRefExoticComponent<CardTitleProps & React.RefAttributes<HTMLHeadingElement>>;
34
+ interface CardDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {
35
+ }
36
+ declare const CardDescription: React.ForwardRefExoticComponent<CardDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
37
+ interface CardContentProps extends React.HTMLAttributes<HTMLDivElement> {
38
+ }
39
+ declare const CardContent: React.ForwardRefExoticComponent<CardContentProps & React.RefAttributes<HTMLDivElement>>;
40
+ interface CardFooterProps extends React.HTMLAttributes<HTMLDivElement> {
41
+ }
42
+ declare const CardFooter: React.ForwardRefExoticComponent<CardFooterProps & React.RefAttributes<HTMLDivElement>>;
43
+
44
+ interface PortfolioSummaryProps extends React.HTMLAttributes<HTMLDivElement> {
45
+ availableCash: number;
46
+ portfolioValue: number;
47
+ totalReturnPercent: number;
48
+ unrealizedPnl: number;
49
+ onResetAccount?: () => void;
50
+ positionsHeading?: string;
51
+ emptyPositionsText?: string;
52
+ formatCurrency?: (value: number) => string;
53
+ formatPercent?: (value: number) => string;
54
+ formatSignedCurrency?: (value: number) => string;
55
+ children?: React.ReactNode;
56
+ }
57
+ declare const PortfolioSummary: React.ForwardRefExoticComponent<PortfolioSummaryProps & React.RefAttributes<HTMLDivElement>>;
58
+
59
+ type HousePositionPendingOrder = {
60
+ type: "buy" | "sell";
61
+ tokens: number;
62
+ value: number;
63
+ price: number;
64
+ };
65
+ type HousePositionSliderOrderPayload = {
66
+ side: "buy" | "sell";
67
+ orderType: "market" | "limit";
68
+ tokenId: string;
69
+ tokenSymbol: string;
70
+ price: number;
71
+ deltaTokens: number;
72
+ deltaValue: number;
73
+ targetOwnership: number;
74
+ targetTokens: number;
75
+ targetValue: number;
76
+ };
77
+ interface HousePositionSliderProps extends React.HTMLAttributes<HTMLDivElement> {
78
+ tokenId: string;
79
+ tokenSymbol: string;
80
+ totalTokens: number;
81
+ currentPrice: number;
82
+ availableCash: number;
83
+ tokensHeld: number;
84
+ pendingOrders?: HousePositionPendingOrder[];
85
+ defaultOrderType?: "market" | "limit";
86
+ onConfirmOrder?: (payload: HousePositionSliderOrderPayload) => void;
87
+ }
88
+ declare function HousePositionSlider({ tokenId, tokenSymbol, totalTokens, currentPrice, availableCash, tokensHeld, pendingOrders, defaultOrderType, onConfirmOrder, className, ...props }: HousePositionSliderProps): react_jsx_runtime.JSX.Element;
89
+
90
+ type OrderbookSide = "ask" | "bid";
91
+ type OrderbookLevel = {
92
+ price: number;
93
+ amount: number;
94
+ depth?: number;
95
+ };
96
+ type OrderbookTrade = {
97
+ type: "buy" | "sell";
98
+ price: number;
99
+ amount: number;
100
+ time?: string;
101
+ };
102
+ interface OrderbookProps extends React.HTMLAttributes<HTMLDivElement> {
103
+ asks: OrderbookLevel[];
104
+ bids: OrderbookLevel[];
105
+ midPrice: number;
106
+ midChangePercent?: number;
107
+ trades?: OrderbookTrade[];
108
+ priceLabel?: string;
109
+ amountLabel?: string;
110
+ precision?: number;
111
+ amountPrecision?: number;
112
+ defaultTab?: "orderbook" | "trades";
113
+ onTabChange?: (tab: "orderbook" | "trades") => void;
114
+ rightHeader?: React.ReactNode;
115
+ }
116
+ declare const Orderbook: React.ForwardRefExoticComponent<OrderbookProps & React.RefAttributes<HTMLDivElement>>;
117
+
118
+ type PropertyTourProps = Omit<React.ComponentPropsWithoutRef<typeof Card>, "title"> & {
119
+ title: string;
120
+ src: string;
121
+ poster?: string;
122
+ autoPlay?: boolean;
123
+ muted?: boolean;
124
+ loop?: boolean;
125
+ controls?: boolean;
126
+ playsInline?: boolean;
127
+ };
128
+ declare const PropertyTour: React.ForwardRefExoticComponent<Omit<Omit<CardProps & React.RefAttributes<HTMLDivElement>, "ref">, "title"> & {
129
+ title: string;
130
+ src: string;
131
+ poster?: string;
132
+ autoPlay?: boolean;
133
+ muted?: boolean;
134
+ loop?: boolean;
135
+ controls?: boolean;
136
+ playsInline?: boolean;
137
+ } & React.RefAttributes<HTMLDivElement>>;
138
+
139
+ type PropertyNewsType = "property" | "market" | "portfolio" | (string & {});
140
+ type PropertyNewsItem = {
141
+ id?: string;
142
+ title: string;
143
+ date: string | Date;
144
+ type?: PropertyNewsType;
145
+ description?: string;
146
+ actionLabel?: string;
147
+ href?: string;
148
+ onAction?: (item: PropertyNewsItem) => void;
149
+ };
150
+ interface PropertyNewsUpdatesProps extends React.HTMLAttributes<HTMLDivElement> {
151
+ items: PropertyNewsItem[];
152
+ heading?: string;
153
+ subheading?: string;
154
+ emptyState?: React.ReactNode;
155
+ }
156
+ declare const PropertyNewsUpdates: React.ForwardRefExoticComponent<PropertyNewsUpdatesProps & React.RefAttributes<HTMLDivElement>>;
157
+
158
+ type YourOrderSide = "buy" | "sell";
159
+ type YourOrder = {
160
+ id: string;
161
+ asset: string;
162
+ side: YourOrderSide;
163
+ date: string;
164
+ price: number;
165
+ amount: number;
166
+ total: number;
167
+ filledPercent: number;
168
+ };
169
+ type YourOrdersProps = Omit<React.ComponentPropsWithoutRef<typeof Card>, "title"> & {
170
+ title?: string;
171
+ orders: YourOrder[];
172
+ onEditPrice?: (order: YourOrder) => void;
173
+ onEditAmount?: (order: YourOrder) => void;
174
+ onCancel?: (order: YourOrder) => void;
175
+ };
176
+ declare const YourOrders: React.ForwardRefExoticComponent<Omit<Omit<CardProps & React.RefAttributes<HTMLDivElement>, "ref">, "title"> & {
177
+ title?: string;
178
+ orders: YourOrder[];
179
+ onEditPrice?: (order: YourOrder) => void;
180
+ onEditAmount?: (order: YourOrder) => void;
181
+ onCancel?: (order: YourOrder) => void;
182
+ } & React.RefAttributes<HTMLDivElement>>;
183
+
184
+ type PriceChartRange = "1D" | "1W" | "1M" | "3M" | "1Y";
185
+ type PriceChartCandle = {
186
+ time: Time;
187
+ open: number;
188
+ high: number;
189
+ low: number;
190
+ close: number;
191
+ };
192
+ type PriceChartProps = Omit<React.ComponentPropsWithoutRef<typeof Card>, "title"> & {
193
+ title?: string;
194
+ ranges?: PriceChartRange[];
195
+ selectedRange?: PriceChartRange;
196
+ onRangeChange?: (range: PriceChartRange) => void;
197
+ data: PriceChartCandle[];
198
+ price?: number;
199
+ changePercent?: number;
200
+ currencySymbol?: string;
201
+ height?: number;
202
+ };
203
+ declare const PriceChart: React.ForwardRefExoticComponent<Omit<Omit<CardProps & React.RefAttributes<HTMLDivElement>, "ref">, "title"> & {
204
+ title?: string;
205
+ ranges?: PriceChartRange[];
206
+ selectedRange?: PriceChartRange;
207
+ onRangeChange?: (range: PriceChartRange) => void;
208
+ data: PriceChartCandle[];
209
+ price?: number;
210
+ changePercent?: number;
211
+ currencySymbol?: string;
212
+ height?: number;
213
+ } & React.RefAttributes<HTMLDivElement>>;
214
+
215
+ type PropertyHeroHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
216
+ imageUrl: string;
217
+ imageAlt?: string;
218
+ name: string;
219
+ location: string;
220
+ price?: number;
221
+ currencySymbol?: string;
222
+ changePercent?: number;
223
+ beds?: number;
224
+ baths?: number;
225
+ cars?: number;
226
+ propertyTypeLabel?: string;
227
+ onTrade?: () => void;
228
+ onMakeOffer?: () => void;
229
+ };
230
+ declare const PropertyHeroHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
231
+ imageUrl: string;
232
+ imageAlt?: string;
233
+ name: string;
234
+ location: string;
235
+ price?: number;
236
+ currencySymbol?: string;
237
+ changePercent?: number;
238
+ beds?: number;
239
+ baths?: number;
240
+ cars?: number;
241
+ propertyTypeLabel?: string;
242
+ onTrade?: () => void;
243
+ onMakeOffer?: () => void;
244
+ } & React.RefAttributes<HTMLDivElement>>;
245
+
246
+ type PropertySubheaderTab = {
247
+ id: string;
248
+ label: string;
249
+ hasNotification?: boolean;
250
+ notificationColor?: string;
251
+ };
252
+ type PropertySubheaderAction = {
253
+ id: string;
254
+ label: string;
255
+ icon?: React.ReactNode;
256
+ onClick?: () => void;
257
+ };
258
+ type PropertySubheaderProps = React.HTMLAttributes<HTMLDivElement> & {
259
+ tabs: PropertySubheaderTab[];
260
+ activeTabId: string;
261
+ onTabChange?: (tabId: string) => void;
262
+ actions?: PropertySubheaderAction[];
263
+ };
264
+ declare const PropertySubheader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
265
+ tabs: PropertySubheaderTab[];
266
+ activeTabId: string;
267
+ onTabChange?: (tabId: string) => void;
268
+ actions?: PropertySubheaderAction[];
269
+ } & React.RefAttributes<HTMLDivElement>>;
270
+
271
+ export { Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, type HousePositionPendingOrder, HousePositionSlider, type HousePositionSliderOrderPayload, type HousePositionSliderProps, Orderbook, type OrderbookLevel, type OrderbookProps, type OrderbookSide, type OrderbookTrade, PortfolioSummary, type PortfolioSummaryProps, PriceChart, type PriceChartCandle, type PriceChartProps, type PriceChartRange, PropertyHeroHeader, type PropertyHeroHeaderProps, type PropertyNewsItem, type PropertyNewsType, PropertyNewsUpdates, type PropertyNewsUpdatesProps, PropertySubheader, type PropertySubheaderAction, type PropertySubheaderProps, type PropertySubheaderTab, PropertyTour, type PropertyTourProps, type YourOrder, type YourOrderSide, YourOrders, type YourOrdersProps, badgeVariants, buttonVariants };
@@ -0,0 +1,271 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import * as react_jsx_runtime from 'react/jsx-runtime';
5
+ import { Time } from 'lightweight-charts';
6
+
7
+ declare const buttonVariants: (props?: ({
8
+ variant?: "primary" | "accent" | "accentOutline" | "media" | "outline" | "ghost" | "danger" | null | undefined;
9
+ size?: "sm" | "md" | "lg" | "icon" | null | undefined;
10
+ radius?: "md" | "pill" | null | undefined;
11
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
12
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
13
+ asChild?: boolean;
14
+ }
15
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
16
+
17
+ declare const badgeVariants: (props?: ({
18
+ variant?: "outline" | "default" | "muted" | "success" | "active" | "pending" | "rejected" | null | undefined;
19
+ size?: "sm" | "md" | null | undefined;
20
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
21
+ interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
22
+ }
23
+ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
24
+
25
+ interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
26
+ }
27
+ declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
28
+ interface CardHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
29
+ }
30
+ declare const CardHeader: React.ForwardRefExoticComponent<CardHeaderProps & React.RefAttributes<HTMLDivElement>>;
31
+ interface CardTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
32
+ }
33
+ declare const CardTitle: React.ForwardRefExoticComponent<CardTitleProps & React.RefAttributes<HTMLHeadingElement>>;
34
+ interface CardDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {
35
+ }
36
+ declare const CardDescription: React.ForwardRefExoticComponent<CardDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
37
+ interface CardContentProps extends React.HTMLAttributes<HTMLDivElement> {
38
+ }
39
+ declare const CardContent: React.ForwardRefExoticComponent<CardContentProps & React.RefAttributes<HTMLDivElement>>;
40
+ interface CardFooterProps extends React.HTMLAttributes<HTMLDivElement> {
41
+ }
42
+ declare const CardFooter: React.ForwardRefExoticComponent<CardFooterProps & React.RefAttributes<HTMLDivElement>>;
43
+
44
+ interface PortfolioSummaryProps extends React.HTMLAttributes<HTMLDivElement> {
45
+ availableCash: number;
46
+ portfolioValue: number;
47
+ totalReturnPercent: number;
48
+ unrealizedPnl: number;
49
+ onResetAccount?: () => void;
50
+ positionsHeading?: string;
51
+ emptyPositionsText?: string;
52
+ formatCurrency?: (value: number) => string;
53
+ formatPercent?: (value: number) => string;
54
+ formatSignedCurrency?: (value: number) => string;
55
+ children?: React.ReactNode;
56
+ }
57
+ declare const PortfolioSummary: React.ForwardRefExoticComponent<PortfolioSummaryProps & React.RefAttributes<HTMLDivElement>>;
58
+
59
+ type HousePositionPendingOrder = {
60
+ type: "buy" | "sell";
61
+ tokens: number;
62
+ value: number;
63
+ price: number;
64
+ };
65
+ type HousePositionSliderOrderPayload = {
66
+ side: "buy" | "sell";
67
+ orderType: "market" | "limit";
68
+ tokenId: string;
69
+ tokenSymbol: string;
70
+ price: number;
71
+ deltaTokens: number;
72
+ deltaValue: number;
73
+ targetOwnership: number;
74
+ targetTokens: number;
75
+ targetValue: number;
76
+ };
77
+ interface HousePositionSliderProps extends React.HTMLAttributes<HTMLDivElement> {
78
+ tokenId: string;
79
+ tokenSymbol: string;
80
+ totalTokens: number;
81
+ currentPrice: number;
82
+ availableCash: number;
83
+ tokensHeld: number;
84
+ pendingOrders?: HousePositionPendingOrder[];
85
+ defaultOrderType?: "market" | "limit";
86
+ onConfirmOrder?: (payload: HousePositionSliderOrderPayload) => void;
87
+ }
88
+ declare function HousePositionSlider({ tokenId, tokenSymbol, totalTokens, currentPrice, availableCash, tokensHeld, pendingOrders, defaultOrderType, onConfirmOrder, className, ...props }: HousePositionSliderProps): react_jsx_runtime.JSX.Element;
89
+
90
+ type OrderbookSide = "ask" | "bid";
91
+ type OrderbookLevel = {
92
+ price: number;
93
+ amount: number;
94
+ depth?: number;
95
+ };
96
+ type OrderbookTrade = {
97
+ type: "buy" | "sell";
98
+ price: number;
99
+ amount: number;
100
+ time?: string;
101
+ };
102
+ interface OrderbookProps extends React.HTMLAttributes<HTMLDivElement> {
103
+ asks: OrderbookLevel[];
104
+ bids: OrderbookLevel[];
105
+ midPrice: number;
106
+ midChangePercent?: number;
107
+ trades?: OrderbookTrade[];
108
+ priceLabel?: string;
109
+ amountLabel?: string;
110
+ precision?: number;
111
+ amountPrecision?: number;
112
+ defaultTab?: "orderbook" | "trades";
113
+ onTabChange?: (tab: "orderbook" | "trades") => void;
114
+ rightHeader?: React.ReactNode;
115
+ }
116
+ declare const Orderbook: React.ForwardRefExoticComponent<OrderbookProps & React.RefAttributes<HTMLDivElement>>;
117
+
118
+ type PropertyTourProps = Omit<React.ComponentPropsWithoutRef<typeof Card>, "title"> & {
119
+ title: string;
120
+ src: string;
121
+ poster?: string;
122
+ autoPlay?: boolean;
123
+ muted?: boolean;
124
+ loop?: boolean;
125
+ controls?: boolean;
126
+ playsInline?: boolean;
127
+ };
128
+ declare const PropertyTour: React.ForwardRefExoticComponent<Omit<Omit<CardProps & React.RefAttributes<HTMLDivElement>, "ref">, "title"> & {
129
+ title: string;
130
+ src: string;
131
+ poster?: string;
132
+ autoPlay?: boolean;
133
+ muted?: boolean;
134
+ loop?: boolean;
135
+ controls?: boolean;
136
+ playsInline?: boolean;
137
+ } & React.RefAttributes<HTMLDivElement>>;
138
+
139
+ type PropertyNewsType = "property" | "market" | "portfolio" | (string & {});
140
+ type PropertyNewsItem = {
141
+ id?: string;
142
+ title: string;
143
+ date: string | Date;
144
+ type?: PropertyNewsType;
145
+ description?: string;
146
+ actionLabel?: string;
147
+ href?: string;
148
+ onAction?: (item: PropertyNewsItem) => void;
149
+ };
150
+ interface PropertyNewsUpdatesProps extends React.HTMLAttributes<HTMLDivElement> {
151
+ items: PropertyNewsItem[];
152
+ heading?: string;
153
+ subheading?: string;
154
+ emptyState?: React.ReactNode;
155
+ }
156
+ declare const PropertyNewsUpdates: React.ForwardRefExoticComponent<PropertyNewsUpdatesProps & React.RefAttributes<HTMLDivElement>>;
157
+
158
+ type YourOrderSide = "buy" | "sell";
159
+ type YourOrder = {
160
+ id: string;
161
+ asset: string;
162
+ side: YourOrderSide;
163
+ date: string;
164
+ price: number;
165
+ amount: number;
166
+ total: number;
167
+ filledPercent: number;
168
+ };
169
+ type YourOrdersProps = Omit<React.ComponentPropsWithoutRef<typeof Card>, "title"> & {
170
+ title?: string;
171
+ orders: YourOrder[];
172
+ onEditPrice?: (order: YourOrder) => void;
173
+ onEditAmount?: (order: YourOrder) => void;
174
+ onCancel?: (order: YourOrder) => void;
175
+ };
176
+ declare const YourOrders: React.ForwardRefExoticComponent<Omit<Omit<CardProps & React.RefAttributes<HTMLDivElement>, "ref">, "title"> & {
177
+ title?: string;
178
+ orders: YourOrder[];
179
+ onEditPrice?: (order: YourOrder) => void;
180
+ onEditAmount?: (order: YourOrder) => void;
181
+ onCancel?: (order: YourOrder) => void;
182
+ } & React.RefAttributes<HTMLDivElement>>;
183
+
184
+ type PriceChartRange = "1D" | "1W" | "1M" | "3M" | "1Y";
185
+ type PriceChartCandle = {
186
+ time: Time;
187
+ open: number;
188
+ high: number;
189
+ low: number;
190
+ close: number;
191
+ };
192
+ type PriceChartProps = Omit<React.ComponentPropsWithoutRef<typeof Card>, "title"> & {
193
+ title?: string;
194
+ ranges?: PriceChartRange[];
195
+ selectedRange?: PriceChartRange;
196
+ onRangeChange?: (range: PriceChartRange) => void;
197
+ data: PriceChartCandle[];
198
+ price?: number;
199
+ changePercent?: number;
200
+ currencySymbol?: string;
201
+ height?: number;
202
+ };
203
+ declare const PriceChart: React.ForwardRefExoticComponent<Omit<Omit<CardProps & React.RefAttributes<HTMLDivElement>, "ref">, "title"> & {
204
+ title?: string;
205
+ ranges?: PriceChartRange[];
206
+ selectedRange?: PriceChartRange;
207
+ onRangeChange?: (range: PriceChartRange) => void;
208
+ data: PriceChartCandle[];
209
+ price?: number;
210
+ changePercent?: number;
211
+ currencySymbol?: string;
212
+ height?: number;
213
+ } & React.RefAttributes<HTMLDivElement>>;
214
+
215
+ type PropertyHeroHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
216
+ imageUrl: string;
217
+ imageAlt?: string;
218
+ name: string;
219
+ location: string;
220
+ price?: number;
221
+ currencySymbol?: string;
222
+ changePercent?: number;
223
+ beds?: number;
224
+ baths?: number;
225
+ cars?: number;
226
+ propertyTypeLabel?: string;
227
+ onTrade?: () => void;
228
+ onMakeOffer?: () => void;
229
+ };
230
+ declare const PropertyHeroHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
231
+ imageUrl: string;
232
+ imageAlt?: string;
233
+ name: string;
234
+ location: string;
235
+ price?: number;
236
+ currencySymbol?: string;
237
+ changePercent?: number;
238
+ beds?: number;
239
+ baths?: number;
240
+ cars?: number;
241
+ propertyTypeLabel?: string;
242
+ onTrade?: () => void;
243
+ onMakeOffer?: () => void;
244
+ } & React.RefAttributes<HTMLDivElement>>;
245
+
246
+ type PropertySubheaderTab = {
247
+ id: string;
248
+ label: string;
249
+ hasNotification?: boolean;
250
+ notificationColor?: string;
251
+ };
252
+ type PropertySubheaderAction = {
253
+ id: string;
254
+ label: string;
255
+ icon?: React.ReactNode;
256
+ onClick?: () => void;
257
+ };
258
+ type PropertySubheaderProps = React.HTMLAttributes<HTMLDivElement> & {
259
+ tabs: PropertySubheaderTab[];
260
+ activeTabId: string;
261
+ onTabChange?: (tabId: string) => void;
262
+ actions?: PropertySubheaderAction[];
263
+ };
264
+ declare const PropertySubheader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
265
+ tabs: PropertySubheaderTab[];
266
+ activeTabId: string;
267
+ onTabChange?: (tabId: string) => void;
268
+ actions?: PropertySubheaderAction[];
269
+ } & React.RefAttributes<HTMLDivElement>>;
270
+
271
+ export { Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, type HousePositionPendingOrder, HousePositionSlider, type HousePositionSliderOrderPayload, type HousePositionSliderProps, Orderbook, type OrderbookLevel, type OrderbookProps, type OrderbookSide, type OrderbookTrade, PortfolioSummary, type PortfolioSummaryProps, PriceChart, type PriceChartCandle, type PriceChartProps, type PriceChartRange, PropertyHeroHeader, type PropertyHeroHeaderProps, type PropertyNewsItem, type PropertyNewsType, PropertyNewsUpdates, type PropertyNewsUpdatesProps, PropertySubheader, type PropertySubheaderAction, type PropertySubheaderProps, type PropertySubheaderTab, PropertyTour, type PropertyTourProps, type YourOrder, type YourOrderSide, YourOrders, type YourOrdersProps, badgeVariants, buttonVariants };