import { type ReactElement } from 'react';
import type { BackgroundOverride, ThemeMode } from '@/types/theme';
interface BackgroundEditorProps {
    readonly value: BackgroundOverride | null | undefined;
    readonly onChange: (next: BackgroundOverride | null) => void;
    readonly mode: ThemeMode;
    readonly accentColorKey: string;
    /** Optional background seed defined in the Identity tab (AccentPicker). When
     *  set, it takes precedence over the accent as the source colour for the
     *  Uniform / Tinted modes. */
    readonly sourceBackground?: string | null;
    /** Current resolved values for the 4 main surfaces — shown and editable in mode "Défaut". */
    readonly currentBackgrounds: {
        app: string;
        primary: string;
        secondary: string;
        card: string;
    };
    /** Called when the user edits a single surface directly (in mode "Défaut"). */
    readonly onChangeCurrentBackground: (slot: 'app' | 'primary' | 'secondary' | 'card', hex: string) => void;
}
export declare function BackgroundEditor({ value, onChange, mode, accentColorKey, sourceBackground, currentBackgrounds, onChangeCurrentBackground, }: BackgroundEditorProps): ReactElement;
export {};
//# sourceMappingURL=BackgroundEditor.d.ts.map