import { BrushElement } from './brush/brush-element.js'; import type { IBrush } from './brush/types.js'; import { ConnectorElement } from './connector/connector-element.js'; import type { IConnector } from './connector/types.js'; import { DebugElement, type IDebug } from './debug/debug-element.js'; import { FrameElement } from './frame/frame-element.js'; import type { IFrame, IFrameLocalRecord } from './frame/types.js'; import { ShapeElement } from './shape/shape-element.js'; import type { IShape, IShapeLocalRecord } from './shape/types.js'; import type { ISurfaceElementLocalRecord, SurfaceElement } from './surface-element.js'; import { TextElement } from './text/text-element.js'; import type { IText } from './text/types.js'; export { BrushElement } from './brush/brush-element.js'; export { ConnectorElement } from './connector/connector-element.js'; export { DebugElement } from './debug/debug-element.js'; export { ShapeElement } from './shape/shape-element.js'; export type { ShapeType } from './shape/types.js'; export { TextElement } from './text/text-element.js'; export { FrameElement } from './frame/frame-element.js'; export { normalizeShapeBound } from './shape/utils.js'; export { SHAPE_TEXT_PADDING } from './shape/constants.js'; export { normalizeTextBound, getFontString, getLineHeight, getLineWidth, } from './text/utils.js'; export type { HitTestOptions } from './surface-element.js'; export type PhasorElement = ShapeElement | DebugElement | BrushElement | ConnectorElement | FrameElement | SurfaceElement; export type PhasorElementType = { shape: ShapeElement; debug: DebugElement; brush: BrushElement; connector: ConnectorElement; text: TextElement; frame: FrameElement; }; export type IPhasorElementType = { shape: IShape; debug: IDebug; brush: IBrush; connector: IConnector; text: IText; frame: IFrame; }; export type IPhasorElementLocalRecord = { shape: IShapeLocalRecord; debug: ISurfaceElementLocalRecord; brush: ISurfaceElementLocalRecord; connector: ISurfaceElementLocalRecord; text: ISurfaceElementLocalRecord; frame: IFrameLocalRecord; }; export declare const ElementCtors: { readonly debug: typeof DebugElement; readonly brush: typeof BrushElement; readonly shape: typeof ShapeElement; readonly connector: typeof ConnectorElement; readonly text: typeof TextElement; readonly frame: typeof FrameElement; }; export declare const ElementDefaultProps: Record>; export type IElementCreateProps = Partial>; export type IElementUpdateProps = Partial>; export type IElementDefaultProps = T extends 'connector' ? Omit : T extends 'frame' ? Omit : Omit; export type PhasorElementWithText = ShapeElement | TextElement; export type { IBrush, IConnector, IDebug, IShape, IText }; //# sourceMappingURL=index.d.ts.map