export * from './util/font.js'; import { IDMLGraphicController } from './controllers/Graphic.js'; import { IDMLStylesController } from './controllers/Styles.js'; import { IDMLFontsController } from './controllers/Fonts.js'; import { IDMLPreferencesController } from './controllers/Preferences.js'; import { MasterSpreadPackage } from './controllers/MasterSpreadPackage.js'; import { SpreadPackage } from './controllers/SpreadPackage.js'; import { BackingStory } from './controllers/BackingStory.js'; import { StoryPackage } from './controllers/StoryPackage.js'; import { CreateMasterSpreadOptions, MasterSpread } from './controllers/MasterSpread.js'; import { Spread } from './controllers/Spread.js'; import { Color } from './controllers/Color.js'; import { ColorInput, GeometricBounds } from './types/index.js'; import { ParagraphStyleInput } from './controllers/ParagraphStyle.js'; import { CharacterStyleInput } from './controllers/CharacterStyle.js'; import { FontFamily } from './controllers/FontFamily.js'; import { ParagraphInput, Story } from './controllers/Story.js'; export { type ColorInput } from './types/index.js'; export { RectangleSprite } from './controllers/sprites/Rectangle.js'; export { GroupSprite } from './controllers/sprites/Group.js'; export { TextFrame } from './controllers/sprites/TextFrame.js'; export { OvalSprite } from './controllers/sprites/Oval.js'; export { PolygonSprite, type PathCommand } from './controllers/sprites/Polygon.js'; export { ImageSprite } from './controllers/sprites/Image.js'; export { Sprite } from './controllers/sprites/Sprite.js'; export { Spread } from './controllers/Spread.js'; export { type TransformMatrix, normalizeTransformMatrixForGivenOrigin } from './helpers.js'; export declare const IDML_PLAIN_BUFFER: ArrayBuffer; export type CreateIDMLOptions = { pageGeometricBounds: GeometricBounds; }; export type IDMLFile = { path: string; contents: ArrayBuffer; }; export type IDMLBundle = { name: string; files: IDMLFile[]; }; export type IDMLDocumentContext = { idml: IDML; }; export declare class IDML extends EventTarget { private archiveBuffer; static implementedElements: string[]; designmap?: HTMLElement; graphics: IDMLGraphicController[]; styles: IDMLStylesController[]; fonts: IDMLFontsController[]; preferences: IDMLPreferencesController[]; masterSpreadPackages: MasterSpreadPackage[]; spreadPackages: SpreadPackage[]; backingStories: BackingStory[]; storyPackages: StoryPackage[]; swatchCreatorId: string; swatchGroupReference: string; get context(): IDMLDocumentContext; constructor(archiveBuffer: ArrayBuffer); getSpreads(): Spread[]; createMasterSpread(opts: CreateMasterSpreadOptions, masterSpread?: MasterSpread): MasterSpread; createSpread(masterSpread?: MasterSpread): Spread; getColors(): Color[]; getColorById(id: string): Color | undefined; assumeColor(color: ColorInput | string): Color; getStories(): Story[]; getStoryById(id: string): Story | undefined; createStory(paragraphs: ParagraphInput[]): Story; getParagraphStyles(): import("./controllers/ParagraphStyle.js").ParagraphStyle[]; getParagraphStyleById(id: string): import("./controllers/ParagraphStyle.js").ParagraphStyle | undefined; getCharacterStyles(): import("./controllers/CharacterStyle.js").CharacterStyle[]; getCharacterStyleById(id: string): import("./controllers/CharacterStyle.js").CharacterStyle | undefined; assumeParagraphStyle(paragraphStyle: ParagraphStyleInput | string): import("./controllers/ParagraphStyle.js").ParagraphStyle; assumeCharacterStyle(characterStyle: CharacterStyleInput | string): import("./controllers/CharacterStyle.js").CharacterStyle; getFontFamilies(): FontFamily[]; getFontFamily(name: string): FontFamily | undefined; addFont(fontFile: ArrayBuffer): { id: string; fontFamily: string; name: string; fontStyleName: string; postScriptName: string; status: import("./controllers/FontFamily.js").FontStatus; type: string; }; extract(): Promise; pack(): Promise<{ name: string; files: IDMLFile[]; } | undefined>; export(): Promise; getUniqueID(prefix?: string): string; getUID(): void; } export { simplifySVG } from 'flat-svg'; export declare function createIDML(opts: CreateIDMLOptions): Promise; //# sourceMappingURL=idml.d.ts.map