import * as p from "./properties"; import type { Color, Dict } from "./types"; import { LineJoin, LineCap, LineDash, FontStyle, HatchPatternType, TextAlign, TextBaseline } from "./enums"; import type { Texture } from "../models/textures/texture"; import type { HasProps } from "./has_props"; export type HatchPattern = HatchPatternType | string; export type HatchExtra = Dict; export type Line = { line_color: p.Property; line_alpha: p.Property; line_width: p.Property; line_join: p.Property; line_cap: p.Property; line_dash: p.Property; line_dash_offset: p.Property; }; export type Fill = { fill_color: p.Property; fill_alpha: p.Property; }; export type Image = { global_alpha: p.Property; }; export type Hatch = { hatch_color: p.Property; hatch_alpha: p.Property; hatch_scale: p.Property; hatch_pattern: p.Property; hatch_weight: p.Property; hatch_extra: p.Property; }; export type Text = { text_color: p.Property; text_outline_color: p.Property; text_outline_width: p.Property; text_alpha: p.Property; text_font: p.Property; text_font_size: p.Property; text_font_style: p.Property; text_align: p.Property; text_baseline: p.Property; text_line_height: p.Property; }; export declare const Line: p.DefineOf; export declare const Fill: p.DefineOf; export declare const Image: p.DefineOf; export declare const Hatch: p.DefineOf; export declare const Text: p.DefineOf; export type LineScalar = { line_color: p.ScalarSpec; line_alpha: p.ScalarSpec; line_width: p.ScalarSpec; line_join: p.ScalarSpec; line_cap: p.ScalarSpec; line_dash: p.ScalarSpec; line_dash_offset: p.ScalarSpec; }; export type FillScalar = { fill_color: p.ScalarSpec; fill_alpha: p.ScalarSpec; }; export type ImageScalar = { global_alpha: p.ScalarSpec; }; export type HatchScalar = { hatch_color: p.ScalarSpec; hatch_alpha: p.ScalarSpec; hatch_scale: p.ScalarSpec; hatch_pattern: p.ScalarSpec; hatch_weight: p.ScalarSpec; hatch_extra: p.ScalarSpec; }; export type TextScalar = { text_color: p.ScalarSpec; text_outline_color: p.ScalarSpec; text_outline_width: p.ScalarSpec; text_alpha: p.ScalarSpec; text_font: p.ScalarSpec; text_font_size: p.ScalarSpec; text_font_style: p.ScalarSpec; text_align: p.ScalarSpec; text_baseline: p.ScalarSpec; text_line_height: p.ScalarSpec; }; export declare const LineScalar: p.DefineOf; export declare const FillScalar: p.DefineOf; export declare const ImageScalar: p.DefineOf; export declare const HatchScalar: p.DefineOf; export declare const TextScalar: p.DefineOf; export type LineVector = { line_color: p.ColorSpec; line_alpha: p.VectorSpec; line_width: p.VectorSpec; line_join: p.VectorSpec; line_cap: p.VectorSpec; line_dash: p.VectorSpec; line_dash_offset: p.VectorSpec; }; export type FillVector = { fill_color: p.ColorSpec; fill_alpha: p.VectorSpec; }; export type ImageVector = { global_alpha: p.VectorSpec; }; export type HatchVector = { hatch_color: p.ColorSpec; hatch_alpha: p.VectorSpec; hatch_scale: p.VectorSpec; hatch_pattern: p.VectorSpec; hatch_weight: p.VectorSpec; hatch_extra: p.ScalarSpec; }; export type TextVector = { text_color: p.ColorSpec; text_outline_color: p.ColorSpec; text_outline_width: p.VectorSpec; text_alpha: p.VectorSpec; text_font: p.VectorSpec; text_font_size: p.VectorSpec; text_font_style: p.VectorSpec; text_align: p.VectorSpec; text_baseline: p.VectorSpec; text_line_height: p.VectorSpec; }; export declare const LineVector: p.DefineOf; export declare const FillVector: p.DefineOf; export declare const ImageVector: p.DefineOf; export declare const HatchVector: p.DefineOf; export declare const TextVector: p.DefineOf; export type Prefixed

= { [key in keyof T & string as `${P}_${key}`]: T[key]; }; export type HoverLine = Prefixed<"hover", Line>; export type HoverFill = Prefixed<"hover", Fill>; export type HoverHatch = Prefixed<"hover", Hatch>; export type AboveFill = Prefixed<"above", Fill>; export type AboveHatch = Prefixed<"above", Hatch>; export type BelowFill = Prefixed<"below", Fill>; export type BelowHatch = Prefixed<"below", Hatch>; export type GlyphLineVector = Prefixed<"glyph", LineVector>; export type GlyphFillVector = Prefixed<"glyph", FillVector>; export type GlyphHatchVector = Prefixed<"glyph", HatchVector>; export type AxisLabelText = Prefixed<"axis_label", Text>; export type AxisLine = Prefixed<"axis", Line>; export type BackgroundFill = Prefixed<"background", Fill>; export type BackgroundHatch = Prefixed<"background", Hatch>; export type BackgroundFillVector = Prefixed<"background", FillVector>; export type BackgroundHatchVector = Prefixed<"background", HatchVector>; export type ItemBackgroundFill = Prefixed<"item_background", Fill>; export type ItemBackgroundHatch = Prefixed<"item_background", Hatch>; export type BandFill = Prefixed<"band", Fill>; export type BandHatch = Prefixed<"band", Hatch>; export type BarLine = Prefixed<"bar", Line>; export type BorderFill = Prefixed<"border", Fill>; export type BorderHatch = Prefixed<"border", Hatch>; export type BorderLine = Prefixed<"border", Line>; export type BorderLineVector = Prefixed<"border", LineVector>; export type GridLine = Prefixed<"grid", Line>; export type GroupText = Prefixed<"group", Text>; export type InactiveFill = Prefixed<"inactive", Fill>; export type InactiveHatch = Prefixed<"inactive", Hatch>; export type LabelText = Prefixed<"label", Text>; export type MajorLabelText = Prefixed<"major_label", Text>; export type MajorTickLine = Prefixed<"major_tick", Line>; export type MinorGridLine = Prefixed<"minor_grid", Line>; export type MinorTickLine = Prefixed<"minor_tick", Line>; export type OutlineLine = Prefixed<"outline", Line>; export type SeparatorLine = Prefixed<"separator", Line>; export type SubGroupText = Prefixed<"subgroup", Text>; export type TitleText = Prefixed<"title", Text>; type Mixins = Text | Line | Fill | Hatch | Image | TextVector | LineVector | FillVector | HatchVector; export declare function attrs_of

(model: HasProps, prefix: P, mixin: p.DefineOf, new_prefix?: string | boolean): { [key: string]: unknown; }; export {}; //# sourceMappingURL=property_mixins.d.ts.map