import { BaseBoxCornerStyle } from "#styles/box-corner-style"; import { BaseBoxStyle } from "#styles/box-style"; import { BaseKeypointStyle } from "#styles/keypoint-style"; import { BaseLabelStyle } from "#styles/label-style"; import { BaseMaskStyle } from "#styles/mask-style"; import { BaseMarkerStyle } from "#styles/marker-style"; import { BasePercentageBarStyle } from "#styles/percentage-bar-style"; import type { MaskHaloStyle } from "#types/mask-halo-style"; import { BaseOrientedBoxStyle } from "#styles/oriented-box-style"; import { BasePolygonStyle } from "#styles/polygon-style"; import { BasePolylineStyle } from "#styles/polyline-style"; import type { EllipseStyle } from "#types/ellipse-style"; import type { SkeletonDefinitions } from "#types/detections"; import type { MediaRendererPresentation } from "#types/media-rendering"; export interface DefaultAnnotationPresentationOptions { /** * Resolve a project-specific color for a detection class. Return undefined * to fall back to supervision-js's stable class-color resolver. */ readonly getClassColor?: (className: string | undefined) => number | undefined; /** Include confidence percentages in the default label text. */ readonly includeConfidence?: boolean; /** Optional skeleton definitions used by the default keypoint style. */ readonly skeletonDefinitions?: SkeletonDefinitions; } /** * Builds the canonical, unselected annotation presentation used by Roboflow's * Core annotation editor. It deliberately excludes host-specific interaction, * editing, focus, and theme behaviour so consumers can compose those layers. */ export declare function createDefaultAnnotationPresentation(options?: DefaultAnnotationPresentationOptions): MediaRendererPresentation; /** * The canonical default style of one built-in layer. * * These exist so a renderer kind can build only the style it needs instead of * the whole default presentation. Keep them equivalent to the matching field of * {@link createDefaultAnnotationPresentation}. */ export declare function createDefaultBoxStyle(options?: DefaultAnnotationPresentationOptions): BaseBoxStyle; /** Canonical opt-in BoxCornerAnnotator-style presentation. */ export declare function createDefaultBoxCornerStyle(options?: DefaultAnnotationPresentationOptions): BaseBoxCornerStyle; /** * Matches the Python Supervision EllipseAnnotator: an elliptical footprint * arc under the detection box, swept from -45deg to 235deg, in the class * color. */ export declare function createDefaultEllipseStyle(options?: DefaultAnnotationPresentationOptions): EllipseStyle; export declare function createDefaultKeypointStyle(options?: DefaultAnnotationPresentationOptions): BaseKeypointStyle; export declare function createDefaultLabelStyle(options?: DefaultAnnotationPresentationOptions): BaseLabelStyle; export declare function createDefaultMaskStyle(options?: DefaultAnnotationPresentationOptions): BaseMaskStyle; /** Canonical opt-in marker presentation. */ export declare function createDefaultMarkerStyle(): BaseMarkerStyle; /** * Canonical mask halo: a class-colored glow that follows the mask silhouette. * Used when the `maskHalo` renderer is listed without an explicit style. */ export declare function createDefaultMaskHaloStyle(options?: DefaultAnnotationPresentationOptions): MaskHaloStyle; /** * Canonical opt-in oriented-box presentation, styled the same as the default * polygon fill/stroke so the two closed shapes read consistently together. */ export declare function createDefaultOrientedBoxStyle(options?: DefaultAnnotationPresentationOptions): BaseOrientedBoxStyle; export declare function createDefaultPolygonStyle(options?: DefaultAnnotationPresentationOptions): BasePolygonStyle; export declare function createDefaultPolylineStyle(options?: DefaultAnnotationPresentationOptions): BasePolylineStyle; export declare function createDefaultPercentageBarStyle(options?: DefaultAnnotationPresentationOptions): BasePercentageBarStyle; //# sourceMappingURL=default-annotation-presentation.d.ts.map