/** * * @type {Record} * TODO: Find a proper place, make extendible */ export const markTypes: Record; /** * @template {import("../spec/view.js").UnitSpec} [TSpec=import("../spec/view.js").UnitSpec] * @extends {View} */ export default class UnitView extends View { /** * * @param {TSpec} spec * @param {import("../types/viewContext.js").default} context * @param {import("./containerView.js").default} layoutParent * @param {import("./view.js").default} dataParent * @param {string} name * @param {import("./view.js").ViewOptions} [options] */ constructor(spec: TSpec, context: import("../types/viewContext.js").default, layoutParent: import("./containerView.js").default, dataParent: import("./view.js").default, name: string, options?: import("./view.js").ViewOptions); /** @type {import("../marks/mark.js").default} */ mark: import("../marks/mark.js").default; getMarkType(): "text" | "point" | "link" | "rect" | "rule" | "tick"; /** * Pulls scales and axes up in the view hierarcy according to the resolution rules, using dataParents. * TODO: legends * * @param {ResolutionTarget} [type] If not specified, both scales and axes are resolved. */ resolve(type?: import("../spec/view.js").ResolutionTarget): void; /** * Returns an accessor that accesses a field or an evaluated expression, * if there is one. * * @param {Channel} channel */ getDataAccessor(channel: import("../spec/channel.js").Channel): import("../types/encoder.js").Accessor; /** * Returns data accessors configured for the `search` channel. * * @returns {import("vega-util").AccessorFn[]} */ getSearchAccessors(): import("vega-util").AccessorFn[]; /** * Returns a collector that is associated with this view. */ getCollector(): import("../data/collector.js").default; /** * Registers collector subscriptions that keep scale domains up to date. */ registerDomainSubscriptions(): void; getZoomLevel(): number; /** * @param {string} channel * @param {ResolutionTarget} resolutionType * @returns {import("../spec/view.js").ResolutionBehavior} */ getDefaultResolution(channel: string, resolutionType: import("../spec/view.js").ResolutionTarget): import("../spec/view.js").ResolutionBehavior; #private; } import View from "./view.js"; //# sourceMappingURL=unitView.d.ts.map