UNPKG

2.02 kBTypeScriptView Raw
1import type { Assign } from "@ark-ui/react";
2import { Avatar as ArkAvatar } from "@ark-ui/react/avatar";
3import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
4declare const useAvatarStyles: () => Record<string, import("../..").SystemStyleObject>;
5export { useAvatarStyles };
6export interface AvatarRootProviderBaseProps extends Assign<ArkAvatar.RootProviderBaseProps, SlotRecipeProps<"avatar">>, UnstyledProp {
7}
8export interface AvatarRootProviderProps extends HTMLChakraProps<"div", AvatarRootProviderBaseProps> {
9}
10export declare const AvatarRootProvider: import("react").ForwardRefExoticComponent<AvatarRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;
11export interface AvatarRootBaseProps extends Assign<ArkAvatar.RootBaseProps, SlotRecipeProps<"avatar">>, UnstyledProp {
12}
13export interface AvatarRootProps extends HTMLChakraProps<"div", AvatarRootBaseProps> {
14}
15export declare const AvatarRoot: import("react").ForwardRefExoticComponent<AvatarRootProps & import("react").RefAttributes<HTMLDivElement>>;
16export declare const AvatarPropsProvider: React.Provider<AvatarRootBaseProps>;
17export interface AvatarFallbackProps extends HTMLChakraProps<"div", ArkAvatar.FallbackProps> {
18}
19export declare const AvatarFallback: import("react").ForwardRefExoticComponent<AvatarFallbackProps & import("react").RefAttributes<HTMLDivElement>>;
20export interface AvatarImageProps extends HTMLChakraProps<"img", ArkAvatar.ImageProps> {
21}
22export declare const AvatarImage: import("react").ForwardRefExoticComponent<AvatarImageProps & import("react").RefAttributes<HTMLImageElement>>;
23export interface AvatarIconProps extends HTMLChakraProps<"svg"> {
24}
25export declare const AvatarIcon: import("react").ForwardRefExoticComponent<AvatarIconProps & import("react").RefAttributes<SVGElement>>;
26export declare const AvatarContext: (props: ArkAvatar.ContextProps) => import("react").ReactNode;
27export interface AvatarStatusChangeDetails extends ArkAvatar.StatusChangeDetails {
28}