import { type Snippet } from 'svelte'; interface ProfileHeaderValue { cover: File | null; avatar: File | null; } interface ProfileHeaderUploaderProps { id?: string; label?: string; coverHelperText?: string; avatarHelperText?: string; /** Existing remote cover URL (shown when no local File is selected). */ coverSrc?: string; /** Existing remote avatar URL (shown when no local File is selected). */ avatarSrc?: string; /** Events and banners only need the cover strip. */ showAvatar?: boolean; /** `contain` shows the whole image inside the cover frame. */ coverFit?: 'cover' | 'contain'; emptyTitle?: string; dropTitle?: string; editLabel?: string; changeLabel?: string; frameLabel?: string; removeLabel?: string; /** Text links under the avatar once a local cover / avatar is selected. */ removeCoverLabel?: string; removeAvatarLabel?: string; avatarEmptyLabel?: string; accept?: string; maxCoverMb?: number; maxAvatarMb?: number; disabled?: boolean; class?: string; onchange?: (value: ProfileHeaderValue) => void; /** Top-right actions once a cover exists. The cover itself still replaces the file. */ onframe?: () => void; onedit?: () => void; /** Profile identity (name, badges…) rendered beside the avatar, like a public header. */ details?: Snippet; /** Right-aligned actions on the avatar row (e.g. "View public page"). */ actions?: Snippet; } declare const ProfileHeaderUploader: import("svelte").Component void; }, "">; type ProfileHeaderUploader = ReturnType; export default ProfileHeaderUploader;