import { Media, Gradient } from './common.js';
import { CardData_ImageScaling_Scaling, CardData_ImagePosition_Position, CardData_Background_Type } from './node_card.enums.js';
/** flynt-disable missing-string-validations */
export interface CardData {
    /** Background styling (color or gradient). */
    background?: CardData_Background;
    /** Background image. */
    backgroundImage?: CardData_BackgroundImage;
}
export interface CardData_ImageScaling {
}
export declare function cardData_ImageScaling_ScalingFromJSON(object: any): CardData_ImageScaling_Scaling;
export declare function cardData_ImageScaling_ScalingToJSON(object: CardData_ImageScaling_Scaling): string;
export interface CardData_ImagePosition {
}
export declare function cardData_ImagePosition_PositionFromJSON(object: any): CardData_ImagePosition_Position;
export declare function cardData_ImagePosition_PositionToJSON(object: CardData_ImagePosition_Position): string;
export interface CardData_BackgroundImage {
    /** Background image. */
    media?: Media;
    /** Background image opacity. */
    opacity?: number;
    /** Background image scaling. */
    scaling: CardData_ImageScaling_Scaling;
    /** Position of background. Defaults to `CENTER`. */
    position: CardData_ImagePosition_Position;
}
/** Background styling (color or gradient) */
export interface CardData_Background {
    /** Background type. */
    type: CardData_Background_Type;
    /** Background color as a hexadecimal value. */
    color?: string;
    /** Gradient configuration. */
    gradient?: Gradient;
}
export declare function cardData_Background_TypeFromJSON(object: any): CardData_Background_Type;
export declare function cardData_Background_TypeToJSON(object: CardData_Background_Type): string;
export declare const CardData: {
    fromJSON(object: any): CardData;
    toJSON(message: CardData): unknown;
};
export declare const CardData_ImageScaling: {
    fromJSON(_: any): CardData_ImageScaling;
    toJSON(_: CardData_ImageScaling): unknown;
};
export declare const CardData_ImagePosition: {
    fromJSON(_: any): CardData_ImagePosition;
    toJSON(_: CardData_ImagePosition): unknown;
};
export declare const CardData_BackgroundImage: {
    fromJSON(object: any): CardData_BackgroundImage;
    toJSON(message: CardData_BackgroundImage): unknown;
};
export declare const CardData_Background: {
    fromJSON(object: any): CardData_Background;
    toJSON(message: CardData_Background): unknown;
};
//# sourceMappingURL=node_card.d.ts.map