import type { MotionStyle, MotionValue } from "framer-motion"; import type { BackgroundImage } from "../types/BackgroundImage.js"; import { Animatable } from "../../animation/Animatable/Animatable.js"; import { Color } from "../types/Color/Color.js"; import { Gradient } from "../types/Gradient.js"; /** @public */ export type Background = Color | Gradient | BackgroundImage | MotionValue | string; export interface DeprecatedBackgroundProperties { background: Animatable | Background | null; /** * @internal */ backgroundColor: string | Color; } /** @public */ export interface BackgroundProperties { /** * Set the background of a `Frame`. Supports color strings, color objects and images by using `src`. Set to a semi-transparent blue color by default. * This will override the values set by the `image` property. To use a color and a image, use `backgroundColor` instead * ```jsx * * * * * ``` * @public */ background: Background | null; /** * Set the background color of a `Frame`. Supports color strings and objects. Use this property to set a background color alongside the `image` property. * ```jsx * * * ``` * @public */ backgroundColor: string | Color; /** * Sets a background image of a `Frame`. Will wrap the passed value in a `url('')` if needed. * @remarks * ```jsx * * ``` * @public */ image: string; } export declare function collectBackgroundFromProps({ background, backgroundColor }: Partial, style: MotionStyle): void; //# sourceMappingURL=Background.d.ts.map