import type { AbsoluteBlockItem, Coordinate, LayoutOptions } from './CommonLayoutTypes'; export type Port = 'n' | 'e' | 's' | 'w'; export interface ConnectedPosition { item: string; port: Port; } export interface ConnectedLinePosition { from: Coordinate | ConnectedPosition; to: Coordinate | ConnectedPosition; } export interface ConnectedLineItem { item: string; type: 'line'; position: ConnectedLinePosition; } export type AbsoluteLayoutItem = AbsoluteBlockItem | ConnectedLineItem; export type AbsoluteLayoutStructure = AbsoluteLayoutItem[]; export interface BackgroundImageOptions { w?: number; h?: number; x?: number; y?: number; src?: string; sizeType?: 'auto' | 'contain' | 'cover'; opacity?: number; } export interface AbsoluteLayoutOptions extends LayoutOptions { display?: 'actual-size' | 'fit-to-width' | 'auto-scale' | 'auto'; width?: number; height?: number; backgroundColor?: string; backgroundImage?: BackgroundImageOptions; } //# sourceMappingURL=AbsoluteLayout.d.ts.map