import { literal } from 'lit/static-html.js';
import { createEmbedBlock } from '../_common/embed-block-helper/index.js';
import { EmbedFigmaModel, EmbedFigmaStyles, } from './embed-figma-model.js';
import { EmbedFigmaService } from './embed-figma-service.js';
const defaultEmbedFigmaProps = {
    style: EmbedFigmaStyles[0],
    url: '',
    caption: null,
    title: null,
    description: null,
};
export const EmbedFigmaBlockSpec = createEmbedBlock({
    schema: {
        name: 'figma',
        version: 1,
        toModel: () => new EmbedFigmaModel(),
        props: () => defaultEmbedFigmaProps,
    },
    view: {
        component: literal `affine-embed-figma-block`,
    },
    service: EmbedFigmaService,
});
//# sourceMappingURL=embed-figma-spec.js.map