import * as CSS from 'csstype'; import { Request } from 'express'; import { CardConfig, Width, CardContract } from '@tensei/common'; export declare class Card implements CardContract { name: string; slug: string; background: string; backgroundImage: string; text: string; customStyles: CSS.Properties; config: CardConfig; request: Request | null; setRequest(request: Request): this; constructor(name: string, slug?: string); width(width: Width): this; component(component: string): this; bg(background: string): this; bgImage(backgroundImage: string): this; styles(styles: CSS.Properties): this; textColor(textColor: string): this; serialize(): { name: string; slug: string; textColor: string; width: Width; background: string; customStyles: CSS.Properties<0 | (string & {}), string & {}>; component: string; backgroundImage: string; }; } export declare const card: (name: string, slug?: string | undefined) => Card;