import React from 'react'; type PreviewType = 'logo' | 'favicon' | 'social'; export interface BrandAssetUploaderProps { /** Form field / setting key, e.g. `logo`, `favicon`, `socialSharingImage`. */ name: string; /** Current saved value (a `/assets/...` URL) or empty string. */ defaultValue?: string; /** Media subfolder the file lands in; a unique token is appended per mount. */ folder?: string; /** Which contextual preview to render under the uploader. */ previewType?: PreviewType; /** * When set, the asset's real intrinsic pixel size is measured on upload and * written to these form fields. Used for the logo — whose aspect ratio is * arbitrary — so the storefront can size it without distortion or layout * shift. Omit for fixed-ratio assets (favicon, social image). */ widthName?: string; heightName?: string; defaultWidth?: string; defaultHeight?: string; } /** * Single-asset image upload for store branding (logo / favicon / social image). * Wraps the shared {@link ImageUploader} in single mode, mirrors the uploaded * URL into a hidden form field so it saves with the rest of the store settings, * and renders a contextual preview built from the `/images` endpoint. */ export declare function BrandAssetUploader({ name, defaultValue, folder, previewType, widthName, heightName, defaultWidth, defaultHeight }: BrandAssetUploaderProps): React.JSX.Element; export {};