import type { BoxFillStyle, BoxStrokeStyle } from "#types/box-style"; import type { Detection } from "#types/detections"; import type { PolygonDrawInstruction, PolygonStyle, PolygonStyleContext } from "#types/polygon-style"; import type { DetectionStylePredicate, DetectionStyleValue } from "#types/style"; export interface BasePolygonStyleOptions { readonly fill?: DetectionStyleValue | null, PolygonStyleContext>; readonly stroke?: DetectionStyleValue | null, PolygonStyleContext>; readonly shouldRender?: DetectionStylePredicate; } export declare class BasePolygonStyle implements PolygonStyle { private readonly options; constructor(options?: BasePolygonStyleOptions); resolve(detection: Detection, context: PolygonStyleContext): PolygonDrawInstruction | undefined; } //# sourceMappingURL=polygon-style.d.ts.map