/// import { Variable, Constraint } from 'indigo-ts'; import { Gestalt } from "./gestaltIndigo"; import { BBoxValues, MaybeBBoxValues, BBoxTreeValue, bboxVarExprs, Transform } from './indigoBBoxTransform'; export declare type BBoxTreeInherit = { isSet: boolean; inheritFrame: boolean; bbox: T; canvas: T; transform: Transform; children: { [key: string]: BBoxTreeInherit; }; }; export declare type BBoxTreeInheritRef = { $ref: boolean; isSet: boolean; inheritFrame: boolean; bbox: T; canvas: T; transform: Transform; children: { [key: string]: BBoxTreeInheritRef; }; }; export declare type BBoxTreeVVE = BBoxTreeInheritRef<{ bboxVars: bboxVarExprs; bboxValues?: MaybeBBoxValues; }, Variable>; export declare type CompiledAST = { bboxValues: BBoxTreeValue; encoding: GlyphWithPathNoRef; }; export declare type Relation = { left: string; right: string; gestalt: Gestalt[]; }; export declare type Ref = { $ref: true; path: string[]; }; export declare type Glyph = { isSet: boolean; inheritFrame: boolean; bbox?: MaybeBBoxValues; renderFn?: (canvas: BBoxValues, index?: number) => JSX.Element; children?: { [key: string]: Glyph; }; relations?: Relation[]; } | Ref; export declare type GlyphNoRef = { isSet: boolean; inheritFrame: boolean; bbox?: MaybeBBoxValues; renderFn?: (canvas: BBoxValues, index?: number) => JSX.Element; children?: { [key: string]: GlyphNoRef; }; relations?: Relation[]; }; export declare type GlyphWithPath = { isSet: boolean; inheritFrame: boolean; pathList: string[]; path: string; bbox?: MaybeBBoxValues; renderFn?: (canvas: BBoxValues, index?: number) => JSX.Element; children?: { [key: string]: GlyphWithPath; }; relations?: Relation[]; } | Ref; export declare type GlyphWithPathNoRef = { isSet: boolean; inheritFrame: boolean; pathList: string[]; path: string; bbox?: MaybeBBoxValues; renderFn?: (canvas: BBoxValues, index?: number) => JSX.Element; children: { [key: string]: GlyphWithPathNoRef; }; }; export declare type Mark = { bbox: MaybeBBoxValues; renderFn: (canvas: BBoxValues, index?: number) => JSX.Element; }; declare type BBoxTreeInheritWithRef = { isSet: boolean; inheritFrame: boolean; bbox: T; canvas: T; transform: Transform; children: { [key: string]: BBoxTreeInheritWithRef; }; } | Ref; export declare type BBoxTreeVVEWithRef = BBoxTreeInheritWithRef<{ bboxVars: bboxVarExprs; bboxValues?: MaybeBBoxValues; }, Variable>; export declare const addBBoxValueConstraints: (bboxTree: BBoxTreeVVEWithRef, constraints: Constraint[]) => void; export declare const addBBoxConstraintsWithRef: (bboxTree: BBoxTreeVVEWithRef, constraints: Constraint[]) => void; export declare const addTransformConstraints: (bboxTree: BBoxTreeVVE, constraints: Constraint[], name?: string) => void; declare const _default: (encoding: Glyph) => CompiledAST; export default _default; //# sourceMappingURL=compileWithRefIndigo.d.ts.map