import type { HTMLAttributes } from 'svelte/elements';
import type { Snippet } from 'svelte';
import type { Intensity3D, Variant } from '../Facehash.svelte';
interface FacehashProps {
size?: number | string;
variant?: Variant;
intensity3d?: Intensity3D;
interactive?: boolean;
showInitial?: boolean;
colors?: string[];
colorClasses?: string[];
gradientOverlayClass?: string;
}
interface Props extends Omit, 'children'> {
/**
* The name to derive initials and Facehash from.
*/
name?: string;
/**
* Delay in milliseconds before showing the fallback.
* Useful to prevent flashing when images load quickly.
* @default 0
*/
delayMs?: number;
/**
* Custom children to render instead of initials or Facehash.
*/
children?: Snippet;
/**
* Use the Facehash component as fallback instead of initials.
* @default true
*/
facehash?: boolean;
/**
* Props to pass to the Facehash component.
*/
facehashProps?: FacehashProps;
}
declare const AvatarFallback: import("svelte").Component;
type AvatarFallback = ReturnType;
export default AvatarFallback;