///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
import { FSDBEntity } from '@becomes/purple-cheetah-mod-fsdb/types';
import type { ObjectSchema } from '@becomes/purple-cheetah/types';
import { Schema } from 'mongoose';
import type { BCMSProp, BCMSPropGql } from '../../prop';
export interface BCMSWidget extends FSDBEntity {
cid: string;
name: string;
label: string;
desc: string;
previewImage: string;
previewScript: string;
previewStyle: string;
props: BCMSProp[];
}
export interface BCMSWidgetGql extends FSDBEntity {
cid: string;
name: string;
label: string;
desc: string;
previewImage: string;
previewScript: string;
previewStyle: string;
props: BCMSPropGql[];
}
export declare const BCMSWidgetFSDBSchema: ObjectSchema;
export declare const BCMSWidgetMongoDBSchema: Schema, {}, {}, {}, {}, "type", {
name: string;
props: any[];
label: string;
cid: string;
_id?: string | undefined;
desc?: string | undefined;
createdAt?: number | undefined;
updatedAt?: number | undefined;
previewImage?: string | undefined;
previewScript?: string | undefined;
previewStyle?: string | undefined;
}>;