0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2025-01-10 17:10:06 -05:00
penpot-exporter-figma-plugin/src/ui/lib/penpot.d.ts

19 lines
473 B
TypeScript
Raw Normal View History

/* eslint-disable @typescript-eslint/no-explicit-any */
export interface PenpotFile {
asMap(): any;
export(): void;
addPage(name: string): void;
closePage(): void;
addArtboard(artboard: any): void;
closeArtboard(): void;
addGroup(group: any): void;
closeGroup(): void;
createRect(rect: any): void;
createCircle(circle: any): void;
createText(text: any): void;
createImage(image: any): void;
}
export function createFile(name: string): PenpotFile;