0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2024-12-23 06:04:01 -05:00
penpot-exporter-figma-plugin/src/ui/lib/penpot.d.ts

21 lines
618 B
TypeScript
Raw Normal View History

/* eslint-disable @typescript-eslint/no-explicit-any */
2024-04-10 05:49:05 -05:00
import { CircleShape } from './types/circle/circleShape';
2024-04-10 05:31:37 -05:00
import { TextShape } from './types/text/textShape';
export interface PenpotFile {
asMap(): any;
export(): void;
2024-04-09 13:44:29 -05:00
addPage(name: string, options?: object): void;
closePage(): void;
addArtboard(artboard: any): void;
closeArtboard(): void;
addGroup(group: any): void;
closeGroup(): void;
createRect(rect: any): void;
2024-04-10 05:49:05 -05:00
createCircle(circle: CircleShape): void;
2024-04-10 05:31:37 -05:00
createText(options: TextShape): void;
createImage(image: any): void;
}
export function createFile(name: string): PenpotFile;