import { MockLayerState } from "../mock/MockMap"; import { MockFeature } from "../mock/MockVTFeatures"; interface MapFeatureMatchers { toHaveFeatureCount(expectedCount: number): R; toHaveFeature(id: number): R; withAttribute(name: string, value: any): R; withFeatureStyleStroke(strokeColor: string): R; withNoFeatureStyleStroke(): R; withFeatureStyleFill(strokeColor: string): R; withNoFeatureStyleFill(): R; withFeatureLabelText(labelText: string | null | undefined): R; withFeatureIcon(iconPath: string | undefined): R; withFeatureStyleCount(expectedStyleCount: number): R; } declare global { namespace jest { interface Expect extends MapFeatureMatchers { } interface Matchers extends MapFeatureMatchers { } } } declare const _default: { toHaveFeatureCount(layerState: MockLayerState, expectedCount: number): { message: () => string; pass: boolean; }; toHaveFeature(layerState: MockLayerState, id: number): { message: () => string; pass: boolean; }; withAttribute(feature: MockFeature, name: string, expectedValue: any): { message: () => string; pass: boolean; }; withFeatureStyleStroke(feature: MockFeature, strokeColor: string): { message: () => string; pass: boolean; }; withNoFeatureStyleStroke(feature: MockFeature): { message: () => string; pass: boolean; }; withFeatureStyleFill(feature: MockFeature, fillColor: string): { message: () => string; pass: boolean; }; withFeatureStyleCount(feature: MockFeature, expectedStyleCount: number): { pass: boolean; message: () => string; }; withNoFeatureStyleFill(feature: MockFeature): { message: () => string; pass: boolean; }; withFeatureLabelText(feature: MockFeature, expectedLabelText: string | null | undefined): { message: () => string; pass: boolean; }; withFeatureIcon(feature: MockFeature, expectedIconPath: string | undefined): { message: () => string; pass: boolean; }; }; export default _default;