import { type MapValidation } from "./validateMapData.js";
/**
 * Map validation for a chart payload before a data-link is signed.
 * Returns undefined only when the payload is not a map. A throw means the
 * check did not finish — the caller must not sign.
 *
 * The map type is resolved exactly like the renderer's getMapType(): generated
 * data-links carry no explicit type or dataset metadata, so it falls to the
 * geospatial key names (e.g. a "state__created" key holding county values resolves
 * to "state"). Pass `opts.mapType` / `opts.fieldSubtype` when the MCP already
 * knows them for a fully faithful resolution.
 */
export declare const validateChartConfig: (config: unknown, opts?: {
    mapType?: string;
    fieldSubtype?: string;
}) => Promise<MapValidation | undefined>;
