0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2024-12-22 13:43:03 -05:00
This commit is contained in:
Jordi Sala Morales 2024-04-10 10:56:14 +00:00
parent 8cd89b2bbf
commit d341eb3fbe
No known key found for this signature in database
GPG key ID: C5127140107F55FD

View file

@ -1,20 +1,23 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { CircleShape } from './types/circle/circleShape'; import { CircleShape } from './types/circle/circleShape';
import { RectShape } from './types/rect/rectShape'; import { RectShape } from './types/rect/rectShape';
import { TextShape } from './types/text/textShape'; import { TextShape } from './types/text/textShape';
export interface PenpotFile { export interface PenpotFile {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
asMap(): any; asMap(): any;
export(): void; export(): void;
addPage(name: string, options?: object): void; addPage(name: string, options?: object): void;
closePage(): void; closePage(): void;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
addArtboard(artboard: any): void; addArtboard(artboard: any): void;
closeArtboard(): void; closeArtboard(): void;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
addGroup(group: any): void; addGroup(group: any): void;
closeGroup(): void; closeGroup(): void;
createRect(rect: RectShape): void; createRect(rect: RectShape): void;
createCircle(circle: CircleShape): void; createCircle(circle: CircleShape): void;
createText(options: TextShape): void; createText(options: TextShape): void;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
createImage(image: any): void; createImage(image: any): void;
} }