/** * Section cap styling — shared between the renderer and its consumers. * * The 3D cut surface is rendered by `Section2DOverlayRenderer` using the exact * polygons `SectionCutter` produces from triangle-plane intersection. This * module carries only the styling primitives that flow through it: * - `HATCH_PATTERN_IDS`: name → numeric id, kept in lockstep with the * `patternId` switch in the 2D-overlay fill fragment shader. * - `SectionCapStyle` / `DEFAULT_CAP_STYLE`: the shape + defaults the store * persists to localStorage and the renderer consumes per-frame. * * Kept as a separate file (rather than folded into `types.ts`) so the hatch * id mapping has a single source of truth that both shader authors and UI * authors can grep for. */ export declare const HATCH_PATTERN_IDS: { readonly solid: 0; readonly diagonal: 1; readonly crossHatch: 2; readonly horizontal: 3; readonly vertical: 4; readonly concrete: 5; readonly brick: 6; readonly insulation: 7; }; export type HatchPatternId = keyof typeof HATCH_PATTERN_IDS; export interface SectionCapStyle { fillColor: [number, number, number, number]; strokeColor: [number, number, number, number]; pattern: HatchPatternId; spacingPx: number; angleRad: number; widthPx: number; secondaryAngleRad: number; } export declare const DEFAULT_CAP_STYLE: SectionCapStyle; //# sourceMappingURL=section-cap-style.d.ts.map