import type { sheets_v4 } from '@googleapis/sheets'; import type { ChartSpec } from '../entities/ChartSpec.js'; import type { EmbeddedObjectBorder } from '../entities/EmbeddedObjectBorder.js'; import type { EmbeddedObjectPosition } from '../entities/EmbeddedObjectPosition.js'; /** * Reject a ChartSpec that does not carry exactly one chart type. The entity * types the family fields as independent optionals (a zod union would * complicate the recursive strict-input pin), so the exactly-one rule is * enforced here, once, for every chart operation. */ export declare function assertOneChartType(spec: ChartSpec): void; /** Carry a ChartSpec across the Google boundary, `forGoogle` at each level. */ export declare function toChartSpec(spec: ChartSpec): sheets_v4.Schema$ChartSpec; /** Carry an EmbeddedObjectPosition across the Google boundary. */ export declare function toEmbeddedObjectPosition(position: EmbeddedObjectPosition): sheets_v4.Schema$EmbeddedObjectPosition; /** Project a REST EmbeddedObjectPosition, cleaning nulls to undefined. */ export declare function projectEmbeddedObjectPosition(position: sheets_v4.Schema$EmbeddedObjectPosition): EmbeddedObjectPosition; /** Carry an EmbeddedObjectBorder across the Google boundary. */ export declare function toEmbeddedObjectBorder(border: EmbeddedObjectBorder): sheets_v4.Schema$EmbeddedObjectBorder; //# sourceMappingURL=charts.d.ts.map