import { NodeSpec } from '../../prosemirror';
/**
 * @name applicationCard_node
 */
export interface Definition {
    type: 'applicationCard';
    attrs: Attributes;
}
export interface Attributes {
    text: string;
    textUrl?: string;
    link?: {
        /**
         * @pattern "^https:\/\/|^data:image\/"
         */
        url: string;
    };
    background?: {
        /**
         * @pattern "^https:\/\/|^data:image\/"
         */
        url: string;
    };
    collapsible?: boolean;
    preview?: {
        /**
         * @pattern "^https:\/\/|^data:image\/"
         */
        url: string;
    };
    title: AppCardTitle;
    description?: AppCardDescription;
    details?: AppCardDetails[];
    context?: AppCardContext;
}
export interface AppCardContext {
    text: string;
    icon?: AppCardIcon;
}
export interface AppCardTitle {
    text: string;
    user?: AppCardUser;
}
export interface AppCardDescription {
    text: string;
}
export interface AppCardDetails {
    title?: string;
    text?: string;
    icon?: AppCardIcon;
    badge?: AppCardBadge;
    lozenge?: AppCardLozenge;
    users?: AppCardUser[];
}
export interface AppCardBadge {
    value: number;
    max?: number;
    theme?: 'default' | 'dark';
    appearance?: 'default' | 'primary' | 'important' | 'added' | 'removed';
}
export interface AppCardLozenge {
    text: string;
    bold?: boolean;
    appearance?: 'default' | 'success' | 'removed' | 'inprogress' | 'new' | 'moved';
}
export interface AppCardUser {
    id?: string;
    icon: AppCardIcon;
}
export interface AppCardIcon {
    /**
     * @pattern "^https:\/\/|^data:image\/"
     */
    url: string;
    label: string;
}
export declare const applicationCard: NodeSpec;
