export type ImageLoadingStatus = 'idle' | 'loading' | 'loaded' | 'error'; export type AvatarContextValue = { imageLoadingStatus: ImageLoadingStatus; setImageLoadingStatus: (status: ImageLoadingStatus) => void; }; /** * Hook to access the Avatar context. * Throws an error if used outside of Avatar. */ export declare function getAvatarContext(): AvatarContextValue; export declare function setAvatarContext(value: AvatarContextValue): void; import type { HTMLAttributes } from 'svelte/elements'; import type { Snippet } from 'svelte'; interface Props extends HTMLAttributes { children?: Snippet; } declare const Avatar: import("svelte").Component; type Avatar = ReturnType; export default Avatar;