import type { BoxCornerStyle } from "#types/box-corner-style"; import type { AnnotationRendererKind } from "#types/annotation-renderer"; import type { BoxStyle } from "#types/box-style"; import type { EllipseStyle } from "#types/ellipse-style"; import type { LabelStyle } from "#types/label-style"; import type { MaskStyle } from "#types/mask-style"; import type { MaskHaloStyle } from "#types/mask-halo-style"; import type { MarkerStyle } from "#types/marker-style"; import type { OrientedBoxStyle } from "#types/oriented-box-style"; import type { PercentageBarStyle } from "#types/percentage-bar-style"; import type { PolygonStyle } from "#types/polygon-style"; import type { PolylineStyle } from "#types/polyline-style"; import type { KeypointStyle } from "#types/keypoint-style"; export interface PresentationStyleSet { readonly boxStyle?: BoxStyle | null; readonly boxCornerStyle?: BoxCornerStyle | null; readonly ellipseStyle?: EllipseStyle | null; readonly keypointStyle?: KeypointStyle | null; readonly labelStyle?: LabelStyle | null; readonly maskHaloStyle?: MaskHaloStyle | null; readonly maskStyle?: MaskStyle | null; readonly markerStyle?: MarkerStyle | null; readonly orientedBoxStyle?: OrientedBoxStyle | null; readonly percentageBarStyle?: PercentageBarStyle | null; readonly polygonStyle?: PolygonStyle | null; readonly polylineStyle?: PolylineStyle | null; } export type SourcePresentation = PresentationStyleSet; export interface SourcePresentationEntry { readonly id: string; readonly presentation?: SourcePresentation; } /** * Limits source-level overrides when the host explicitly selects annotation * renderers. Omit this option to retain legacy source-override behaviour. */ export interface SourceAwarePresentationOptions { readonly enabledRendererKinds?: readonly AnnotationRendererKind[]; } export declare function createSourceAwarePresentation(globalPresentation: TPresentation, sources: readonly SourcePresentationEntry[], options?: SourceAwarePresentationOptions): TPresentation; export declare function createSourceAwarePresentation(globalPresentation: PresentationStyleSet | undefined, sources: readonly SourcePresentationEntry[], options?: SourceAwarePresentationOptions): PresentationStyleSet; //# sourceMappingURL=source-presentation.d.ts.map