import type { KeyValue } from '../../common'; import type { SimpleAttrs } from '../attr'; import { Registry } from '../registry'; import * as markers from './main'; import { normalize as normalizeMarker } from './util'; export type MarkerFactory = (options: T) => MarkerResult; export interface BaseResult extends SimpleAttrs { tagName?: string; } export type MarkerResult = BaseResult & { id?: string; refX?: number; refY?: number; markerUnits?: string; markerOrient?: 'auto' | 'auto-start-reverse' | number; children?: BaseResult[]; }; type Presets = typeof presets; type OptionsMap = { readonly [K in keyof Presets]-?: Parameters[0]; }; type NativeNames = keyof OptionsMap; export interface ManualItem { name: Exclude; args?: KeyValue; } declare const presets: typeof markers; export declare const markerRegistry: Registry>, typeof markers, never>; export declare const markerNormalize: typeof normalizeMarker; export {};